diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-12-24 11:20:40 -0200 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2012-01-01 17:28:14 +0100 |
commit | d680847c3704413e3fbcb7ef108360b40bc4141d (patch) | |
tree | 9254eae99fb8debbc60536c4586f548e855a70e0 /handlers/rsync.in | |
parent | 6933a8724d792147d774a91d08ddf3cdee163e1f (diff) | |
download | backupninja-d680847c3704413e3fbcb7ef108360b40bc4141d.tar.gz backupninja-d680847c3704413e3fbcb7ef108360b40bc4141d.tar.bz2 |
Abort on rsync error (#3692)
Diffstat (limited to 'handlers/rsync.in')
-rw-r--r-- | handlers/rsync.in | 2 |
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 |