summaryrefslogtreecommitdiff
path: root/Command/Uninit.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-07-15 12:47:14 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-07-15 12:47:14 -0400
commit6c396a256c93464d726c66a95132536941871ee8 (patch)
tree7f934c9eae22a9cfd3fb1672ebd7bf6870439c81 /Command/Uninit.hs
parent185f0b687081f47d059cc0503f4f6b671868f753 (diff)
finished hlint pass
Diffstat (limited to 'Command/Uninit.hs')
-rw-r--r--Command/Uninit.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/Command/Uninit.hs b/Command/Uninit.hs
index 1497bbfd1..8b8d7e364 100644
--- a/Command/Uninit.hs
+++ b/Command/Uninit.hs
@@ -52,8 +52,9 @@ cleanup = do
liftIO $ removeDirectoryRecursive (gitAnnexDir g)
-- avoid normal shutdown
saveState
- liftIO $ Git.run g "branch" [Param "-D", Param Branch.name]
- liftIO $ exitSuccess
+ liftIO $ do
+ Git.run g "branch" [Param "-D", Param Branch.name]
+ exitSuccess
gitPreCommitHookUnWrite :: Git.Repo -> Annex ()
gitPreCommitHookUnWrite repo = do