From: Silvio Rhatto Date: Sat, 24 Dec 2011 13:20:40 +0000 (-0200) Subject: Abort on rsync error (#3692) X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=d680847c3704413e3fbcb7ef108360b40bc4141d;p=backupninja.git Abort on rsync error (#3692) --- diff --git a/handlers/rsync.in b/handlers/rsync.in index ab73051..ab6496f 100644 --- a/handlers/rsync.in +++ b/handlers/rsync.in @@ -1085,7 +1085,7 @@ for SECTION in $include; do $nice $rsync $rsync_options $filelist_flag $excludes $batch_option $orig $dest_path | tee -a $log if [ "$?" != "0" ]; then - warning "Rsync error when trying to transfer $SECTION" + fatal "Rsync error when trying to transfer $SECTION" fi update_metadata