summaryrefslogtreecommitdiff
path: root/Command/InAnnex.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-05-15 02:02:46 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-05-15 02:02:46 -0400
commit56bc3e95cabb85e5f23e30b453f90438c33efbb8 (patch)
treec13ac69cfc2b5ba9582aa5c1ebd427bc0d337b16 /Command/InAnnex.hs
parentb400984ddf9aeb24c3d67e87cfeb29470618636c (diff)
refactor some boilerplate
Diffstat (limited to 'Command/InAnnex.hs')
-rw-r--r--Command/InAnnex.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/InAnnex.hs b/Command/InAnnex.hs
index a7e2ecff6..b5b59ccf7 100644
--- a/Command/InAnnex.hs
+++ b/Command/InAnnex.hs
@@ -24,5 +24,5 @@ start :: CommandStartKey
start key = do
present <- inAnnex key
if present
- then return Nothing
+ then stop
else liftIO $ exitFailure