mirror of
https://github.com/netinvent/npbackup.git
synced 2025-02-24 22:44:04 +08:00
Avoid double writing restic output to queue
This commit is contained in:
parent
c66d174e35
commit
266151ac3c
1 changed files with 2 additions and 1 deletions
|
@ -300,7 +300,8 @@ class ResticRunner:
|
|||
# From here, we assume that we have errors
|
||||
# We'll log them unless we tried to know if the repo is initialized
|
||||
if not errors_allowed and output:
|
||||
self.write_logs(output, level="error")
|
||||
# We won't write to stdout/stderr queues since command_runner already did that for us
|
||||
logger.error(output)
|
||||
return False, output
|
||||
|
||||
@property
|
||||
|
|
Loading…
Reference in a new issue