summaryrefslogtreecommitdiff
path: root/Command/TransferKey.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-11-19 17:08:57 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-11-19 17:08:57 -0400
commitac540f569f68c910f037e91167f5bd21fb2597f3 (patch)
treeea10b56d99c16e80b3ad84e0f0120ccca5b2f8f4 /Command/TransferKey.hs
parent75dc5d235e0da1517d6098cd1694286d627fb4b7 (diff)
merge with git-repair
Diffstat (limited to 'Command/TransferKey.hs')
-rw-r--r--Command/TransferKey.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/TransferKey.hs b/Command/TransferKey.hs
index 3270ad8f7..5bb53d98d 100644
--- a/Command/TransferKey.hs
+++ b/Command/TransferKey.hs
@@ -56,4 +56,4 @@ fromPerform remote key file = go $
getViaTmp key $ \t -> Remote.retrieveKeyFile remote key file t p
go :: Annex Bool -> CommandPerform
-go a = ifM a ( liftIO exitSuccess, liftIO exitFailure)
+go a = a >>= liftIO . exitBool