Skip to content
Snippets Groups Projects
Commit d680847c authored by rhatto's avatar rhatto Committed by intrigeri
Browse files

Abort on rsync error (#3692)

parent 6933a872
No related branches found
No related tags found
No related merge requests found
...@@ -1085,7 +1085,7 @@ for SECTION in $include; do ...@@ -1085,7 +1085,7 @@ for SECTION in $include; do
$nice $rsync $rsync_options $filelist_flag $excludes $batch_option $orig $dest_path | tee -a $log $nice $rsync $rsync_options $filelist_flag $excludes $batch_option $orig $dest_path | tee -a $log
if [ "$?" != "0" ]; then if [ "$?" != "0" ]; then
warning "Rsync error when trying to transfer $SECTION" fatal "Rsync error when trying to transfer $SECTION"
fi fi
update_metadata update_metadata
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment