aboutsummaryrefslogtreecommitdiff
path: root/handlers
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2012-06-29 16:36:54 +0200
committerintrigeri <intrigeri@boum.org>2012-06-29 16:36:54 +0200
commit80a51a3e64c568443650769bfbefcd316d505a91 (patch)
treed1b5c03352f5d0322729c1fe395435fc4f025325 /handlers
parentd3d71fd393aa858bf6ea9dc9e10e4addce7e5ceb (diff)
downloadbackupninja-80a51a3e64c568443650769bfbefcd316d505a91.tar.gz
backupninja-80a51a3e64c568443650769bfbefcd316d505a91.tar.bz2
Do not warn when rsync exits with status 0.
Diffstat (limited to 'handlers')
-rw-r--r--handlers/rsync.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/handlers/rsync.in b/handlers/rsync.in
index e0d2b1f..1954fc1 100644
--- a/handlers/rsync.in
+++ b/handlers/rsync.in
@@ -1103,6 +1103,9 @@ function check_rsync_exit_status {
fi
case $1 in
+ 0)
+ return
+ ;;
1|2|3|4|5|6|10|11|12|13|14|21)
fatal "Rsync error $1 when trying to transfer $SECTION"
;;