2
2
mirror of https://github.com/octoleo/restic.git synced 2024-05-31 16:10:49 +00:00
restic/cmd
Michael Eischer a144c986f2 backup: Reenable JSON status updates with redirected output
After the refactoring status updates were no longer printed in quiet
mode or when the output is not an interactive terminal. However, the
JSON output is often piped to e.g. another program. Thus, don't set the
update frequency to 0 in that case. The status updates are still
disabled for backup --quiet.

This also reduces the status update frequency to 60fps compared to a
potentially much higher value before the refactoring.
2021-09-12 15:26:40 +02:00
..
restic backup: Reenable JSON status updates with redirected output 2021-09-12 15:26:40 +02:00