summaryrefslogtreecommitdiff
path: root/Command
diff options
context:
space:
mode:
Diffstat (limited to 'Command')
-rw-r--r--Command/Lock.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Lock.hs b/Command/Lock.hs
index 3fbe33d8a..e4039dd8b 100644
--- a/Command/Lock.hs
+++ b/Command/Lock.hs
@@ -41,7 +41,7 @@ startNew file key = ifM (isJust <$> isAnnexLink file)
( stop
, do
showStart "lock" file
- go =<< isPointerFile file
+ go =<< liftIO (isPointerFile file)
)
where
go (Just key')