Commit 4930ef8e authored by Nigel Kukard's avatar Nigel Kukard
Browse files

borg: Fixed result code output messages

parent 1b52e94a
Pipeline #7163 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 == 1:
elif 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