fix windows build
This commit is contained in:
parent
fd24034e56
commit
639a6df58a
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ inAnnexSafe key = inAnnex' (fromMaybe True) (Just False) go key
|
||||||
checkdirect contentfile lockfile =
|
checkdirect contentfile lockfile =
|
||||||
ifM (liftIO $ doesFileExist contentfile)
|
ifM (liftIO $ doesFileExist contentfile)
|
||||||
( modifyContent lockfile $ liftIO $
|
( modifyContent lockfile $ liftIO $
|
||||||
lockShared >>= \case
|
lockShared lockfile >>= \case
|
||||||
Nothing -> return is_locked
|
Nothing -> return is_locked
|
||||||
Just lockhandle -> do
|
Just lockhandle -> do
|
||||||
dropLock lockhandle
|
dropLock lockhandle
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue