aboutsummaryrefslogtreecommitdiff
path: root/handlers
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-12-24 11:20:40 -0200
committerintrigeri <intrigeri@boum.org>2012-01-01 17:28:14 +0100
commitd680847c3704413e3fbcb7ef108360b40bc4141d (patch)
tree9254eae99fb8debbc60536c4586f548e855a70e0 /handlers
parent6933a8724d792147d774a91d08ddf3cdee163e1f (diff)
downloadbackupninja-d680847c3704413e3fbcb7ef108360b40bc4141d.tar.gz
backupninja-d680847c3704413e3fbcb7ef108360b40bc4141d.tar.bz2
Abort on rsync error (#3692)
Diffstat (limited to 'handlers')
-rw-r--r--handlers/rsync.in2
1 files changed, 1 insertions, 1 deletions
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