backup: Correctly handle --quiet flag

The quiet flag changes the backup output to assume a non-interactive
terminal. However, the output progress interval was not set to 0 by
default.
This commit is contained in:
Michael Eischer
2021-02-15 22:14:58 +01:00
parent 12f0ccc237
commit 65bd2a9a49
3 changed files with 16 additions and 5 deletions
+11
View File
@@ -0,0 +1,11 @@
Bugfix: `backup --quiet` no longer prints status information
A regression in the latest restic version caused the output of `backup --quiet`
to contain large amounts of backup progress information when run using an
interactive terminal. This is fixed now.
A workaround for this bug is to run restic as follows:
`restic backup --quiet [..] | cat -`.
https://github.com/restic/restic/issues/3184
https://github.com/restic/restic/pull/3186