]> arthur.barton.de Git - bup.git/commit
Always line-buffer bup restore stdout
authorSimon Persson <simonpersson1@gmail.com>
Sun, 11 May 2014 09:06:34 +0000 (17:06 +0800)
committerRob Browning <rlb@defaultvalue.org>
Sun, 11 May 2014 18:52:27 +0000 (13:52 -0500)
commit926f2a9e630dbd355f91c77de65831bfce8014a2
treefeab488c8af1b1602175e08a70ac372144792e0d
parent556a604de073e64557143d44afee07da1e443641
Always line-buffer bup restore stdout

Flush stdout after every line, even when stdio is not a tty, to
provide more regular progress information.  Useful for progress
monitoring by a parent process or when watching a logfile with "tail".

Signed-off-by: Simon Persson <simonpersson1@gmail.com>
[rlb@defaultvalue.org: adjust commit message]
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
cmd/restore-cmd.py