Commit 1b52e94a authored by Nigel Kukard's avatar Nigel Kukard
Browse files

borg: Don't treat result code 1 as a failure

parent d811fea4
Pipeline #7161 passed with stage
in 47 seconds
......@@ -281,7 +281,7 @@ class BorgBackup: # noqa: R0902 pylint: disable=too-many-instance-attributes
else:
if result_code == 0:
self.notifiers.info(f"Borg completed: status={result_code} (NORMAL)")
if result_code == 2:
if result_code == 1:
self.notifiers.info(f"Borg completed: status={result_code} (WARNING)")
# Silently ignore
result_code = 0
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment