diff --git a/NEWS b/NEWS index ddcfe7888..321eb6f1a 100644 --- a/NEWS +++ b/NEWS @@ -2,9 +2,10 @@ * Fix for handling of spaces in source_directories which resulted in backup up everything. * Fix for broken links to Borg documentation. + * At verbosity zero, suppressing Borg check spew to stderr about "Checking segments". * Support for Borg --one-file-system. * Support for Borg create --umask. - * support for file globs in source_directories. + * Support for file globs in source_directories. 0.1.7 diff --git a/atticmatic/backends/shared.py b/atticmatic/backends/shared.py index 417a732a1..2fe6a5c68 100644 --- a/atticmatic/backends/shared.py +++ b/atticmatic/backends/shared.py @@ -213,7 +213,7 @@ def check_archives(verbosity, repository, consistency_config, command): repository, ) + _make_check_flags(checks, check_last) + verbosity_flags - # The check command spews to stdout even without the verbose flag. Suppress it. + # The check command spews to stdout/stderr even without the verbose flag. Suppress it. stdout = None if verbosity_flags else open(os.devnull, 'w') - subprocess.check_call(full_command, stdout=stdout) + subprocess.check_call(full_command, stdout=stdout, stderr=subprocess.STDOUT)