Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
backupninja
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Liberate
backupninja
Commits
90e48665
Commit
90e48665
authored
1 month ago
by
Guillaume Subiron
Browse files
Options
Downloads
Patches
Plain Diff
borg: manage more error codes and to improve the output
parent
06d2da6b
No related branches found
No related tags found
1 merge request
!70
borg: manage more error codes and to improve the output
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
handlers/borg.in
+5
-1
5 additions, 1 deletion
handlers/borg.in
with
5 additions
and
1 deletion
handlers/borg.in
+
5
−
1
View file @
90e48665
...
...
@@ -231,9 +231,13 @@ if [ "$test" = 0 ]; then
warning
"
$output
"
warning
"Backing up source finished with warnings."
fi
elif
[
"
$ret
"
-gt
128
]
;
then
# borg killed by linux signal
signal
=
$((
ret-128
))
warning
"
$output
"
fatal
"Failed backing up source. Borg killed by signal
${
signal
}
."
else
# borg error
error
"
$output
"
fatal
"Failed back
up
ing up source. Borg returned exit code
${
ret
}
."
fatal
"Failed backing up source. Borg returned exit code
${
ret
}
."
fi
fi
...
...
This diff is collapsed.
Click to expand it.
Guillaume Subiron
@maethor
mentioned in issue
#11348 (closed)
·
1 month ago
mentioned in issue
#11348 (closed)
mentioned in issue #11348
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment