ignore hook exit status

This commit is contained in:
Joey Hess 2012-03-14 12:39:09 -04:00
parent 42a6694ca1
commit 6cb4743cfb

View file

@ -22,7 +22,8 @@ seek = [withNothing start]
start :: CommandStart
start = next $ next $ do
Annex.Branch.commit "update"
runhook =<< (inRepo $ Git.hookPath "annex-content")
_ <- runhook =<< (inRepo $ Git.hookPath "annex-content")
return True
where
runhook (Just hook) = liftIO $ boolSystem hook []
runhook Nothing = return True