make way for rsync progress output when it's enabled
This commit is contained in:
parent
1c2c8995ac
commit
7bed3927ba
1 changed files with 2 additions and 0 deletions
|
@ -112,6 +112,8 @@ dropKey r key = onRemote NoConsumeStdin r (boolSystem, return False) "dropkey"
|
|||
|
||||
rsyncHelper :: OutputHandler -> Maybe MeterUpdate -> [CommandParam] -> Annex Bool
|
||||
rsyncHelper oh m params = do
|
||||
unless (quietMode oh) $
|
||||
showOutput -- make way for progress bar
|
||||
a <- case m of
|
||||
Nothing -> return $ rsync params
|
||||
Just meter -> return $ rsyncProgress oh meter params
|
||||
|
|
Loading…
Reference in a new issue