bundles/backup-client: actually show which rsync call produced which error
This commit is contained in:
parent
1ae328d8f3
commit
e596b45344
2 changed files with 11 additions and 9 deletions
|
@ -29,7 +29,7 @@ do_backup() {
|
|||
exitcode=$?
|
||||
if [[ $exitcode != 0 ]] && [[ $exitcode != 24 ]]
|
||||
then
|
||||
rsync_errors+=" $exitcode"
|
||||
rsync_errors+="\n$1 $exitcode"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue