From: intrigeri Date: Fri, 29 Jun 2012 14:36:54 +0000 (+0200) Subject: Do not warn when rsync exits with status 0. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=80a51a3e64c568443650769bfbefcd316d505a91;p=backupninja.git Do not warn when rsync exits with status 0. --- 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" ;;