From 80a51a3e64c568443650769bfbefcd316d505a91 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Fri, 29 Jun 2012 16:36:54 +0200 Subject: Do not warn when rsync exits with status 0. --- handlers/rsync.in | 3 +++ 1 file changed, 3 insertions(+) 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" ;; -- cgit v1.2.3