diff options
author | Joey Hess <joey@kitenet.net> | 2010-10-31 23:24:16 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-10-31 23:24:16 -0400 |
commit | 00d4c7cd01b6f6e863a22483b9ea20ca5260da43 (patch) | |
tree | 2c345eb26dfab3f8bc107764f20343fecb45014e /git-annex.hs | |
parent | f3e4633e359d0a4afc7a0f90a89e4d276b597d84 (diff) |
simplify evals
Diffstat (limited to 'git-annex.hs')
-rw-r--r-- | git-annex.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-annex.hs b/git-annex.hs index d798d417b..e958ac2f9 100644 --- a/git-annex.hs +++ b/git-annex.hs @@ -40,7 +40,7 @@ tryRun' state errnum (a:as) = do result <- try $ Annex.run state a case (result) of Left err -> do - _ <- Annex.run state $ showErr err + Annex.eval state $ showErr err tryRun' state (errnum + 1) as Right (True,state') -> tryRun' state' errnum as Right (False,state') -> tryRun' state' (errnum + 1) as |