diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-11-12 18:05:45 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-11-12 18:13:37 -0400 |
commit | 6b074fb7e741020b81d696bd66e62f75fd472966 (patch) | |
tree | 284ac39d6ce641c255555e504c89a9f4d9956744 /Remote | |
parent | 549f635c6b64006b5a369795805d08b8f439d54c (diff) |
convert from Utility.LockPool to Annex.LockPool everywhere
Diffstat (limited to 'Remote')
-rw-r--r-- | Remote/Helper/Hooks.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Remote/Helper/Hooks.hs b/Remote/Helper/Hooks.hs index 1f46eaa4b..96cca242e 100644 --- a/Remote/Helper/Hooks.hs +++ b/Remote/Helper/Hooks.hs @@ -16,7 +16,7 @@ import Types.Remote import Types.CleanupActions import qualified Annex import Annex.LockFile -import Utility.LockPool +import Annex.LockPool #ifndef mingw32_HOST_OS import Annex.Perms #endif @@ -83,7 +83,7 @@ runHooks r starthook stophook a = do unlockFile lck #ifndef mingw32_HOST_OS mode <- annexFileMode - v <- liftIO $ noUmask mode $ tryLockExclusive (Just mode) lck + v <- noUmask mode $ tryLockExclusive (Just mode) lck #else v <- liftIO $ lockExclusive lck #endif |