]> arthur.barton.de Git - bup.git/commit
cmd/fsck-cmd.py: Append newline after quoted par2 output
authorChristian Cornelssen <ccorn@1tein.de>
Tue, 18 Feb 2020 15:17:33 +0000 (16:17 +0100)
committerRob Browning <rlb@defaultvalue.org>
Sun, 1 Mar 2020 22:55:00 +0000 (16:55 -0600)
commitb84c4d3a7205b2e5cf1d5c72b7adea627683ea9a
tree7573aedf549ccaa231a2f3d0384966f0868c775d
parent19f9faeb0055dadb7f76a953d51acec8373c6edb
cmd/fsck-cmd.py: Append newline after quoted par2 output

With a recent `par2` installed, `bup fsck -v` was printing messages
like this:

  Unexpected par2 error output
  ''Assuming par2 supports parallel processing

when there was no error output and the exit status was zero.  A
previous commit 19f9faeb0055dadb7f76a953d51acec8373c6edb eliminated
the spurious reporting; now make sure we print a newline after the
par2 output whenever there actually is an error.

Signed-off-by: Christian Cornelssen <ccorn@1tein.de>
[rlb@defaultvalue.org: add information from the pr to commit message]
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
cmd/fsck-cmd.py