bundles/backup-client: actually show which rsync call produced which error

This commit is contained in:
Franzi 2021-08-01 07:57:22 +02:00
parent 1ae328d8f3
commit e596b45344
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 11 additions and 9 deletions

View file

@ -29,7 +29,7 @@ do_backup() {
exitcode=$?
if [[ $exitcode != 0 ]] && [[ $exitcode != 24 ]]
then
rsync_errors+=" $exitcode"
rsync_errors+="\n$1 $exitcode"
fi
}