Fix build on Windows
Thanks to bug reporter for the patch.
This commit is contained in:
parent
9cb250f7be
commit
4b739fc460
8 changed files with 11 additions and 8 deletions
|
@ -115,7 +115,7 @@ inAnnexSafe key = inAnnex' (fromMaybe True) (Just False) go key
|
|||
Nothing -> return is_locked
|
||||
Just lockhandle -> do
|
||||
dropLock lockhandle
|
||||
void $ tryIO $ removeWhenExistsWith removeLink lockfile
|
||||
void $ tryIO $ removeWhenExistsWith removeLink (fromRawFilePath lockfile)
|
||||
return is_unlocked
|
||||
, return is_missing
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue