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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Liberate
backupninja
Commits
407e5d25
Commit
407e5d25
authored
4 years ago
by
Guillaume Subiron
Browse files
Options
Downloads
Patches
Plain Diff
Fix
#11311
- Do not fail in borg handler when a file has been removed during backup
parent
387eb85d
Branches
maethor-master-patch-46063
No related tags found
1 merge request
!51
Fix #11311 - Do not fail in borg handler when a file has been removed during backup
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
handlers/borg.in
+9
-1
9 additions, 1 deletion
handlers/borg.in
with
9 additions
and
1 deletion
handlers/borg.in
+
9
−
1
View file @
407e5d25
...
...
@@ -175,9 +175,17 @@ debug "$nice $execstr"
if
[
$test
=
0
]
;
then
output
=
`
$nice
su
-c
"
$execstr
"
2>&1
`
if
[
$?
=
0
]
;
then
ret
=
$?
if
[
$ret
=
0
]
;
then
debug
$output
info
"Successfully finished backing up source."
elif
[
$ret
=
1
]
;
then
if
(
echo
"
$output
"
|
grep
-q
'No such file or directory'
)
;
then
debug
$output
else
warning
$output
fi
info
"Successfully finished backing up source"
else
error
$output
fatal
"Failed backing up source."
...
...
This diff is collapsed.
Click to expand it.
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