diff options
Diffstat (limited to 'Command/Unlock.hs')
-rw-r--r-- | Command/Unlock.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Command/Unlock.hs b/Command/Unlock.hs index bf593e1e9..d65579ec7 100644 --- a/Command/Unlock.hs +++ b/Command/Unlock.hs @@ -34,7 +34,7 @@ seek = [withFilesInGit start] start :: CommandStartString start file = isAnnexed file $ \(key, _) -> do showStart "unlock" file - return $ Just $ perform file key + next $ perform file key perform :: FilePath -> Key -> CommandPerform perform dest key = do @@ -52,5 +52,5 @@ perform dest key = do if ok then do liftIO $ allowWrite dest - return $ Just $ return True + next $ return True else error "copy failed!" |