Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nigel Kukard
awit-backstep
Commits
1b52e94a
Commit
1b52e94a
authored
May 02, 2022
by
Nigel Kukard
Browse files
borg: Don't treat result code 1 as a failure
parent
d811fea4
Pipeline
#7161
passed with stage
in 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
awit_backstep/methods/borg.py
View file @
1b52e94a
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment