Avoid deleting temp files when rsync fails.

This commit is contained in:
Joey Hess 2010-12-02 17:51:02 -04:00
parent b9320ee1d5
commit 2fba1ba40d
3 changed files with 16 additions and 12 deletions

View file

@ -20,4 +20,4 @@ main = do
gitrepo <- Git.repoFromCwd
state <- Annex.new gitrepo allBackends
(configure, actions) <- parseCmd args state
tryRun state $ [startup, upgrade] ++ configure ++ actions ++ [shutdown]
tryRun state $ [startup, upgrade] ++ configure ++ actions