forgot some lifts
This commit is contained in:
parent
092041fab0
commit
83dc82c232
3 changed files with 3 additions and 3 deletions
|
@ -37,7 +37,7 @@ lockFileShared file = go =<< fromLockPool file
|
|||
mode <- annexFileMode
|
||||
lockhandle <- liftIO $ noUmask mode $
|
||||
openFd file ReadOnly (Just mode) defaultFileFlags
|
||||
setFdOption lockhandle CloseOnExec True
|
||||
liftIO $ setFdOption lockhandle CloseOnExec True
|
||||
liftIO $ waitToSetLock lockhandle (ReadLock, AbsoluteSeek, 0, 0)
|
||||
#else
|
||||
lockhandle <- liftIO $ waitToLock $ lockShared file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue