From: Alexander Barton Date: Tue, 18 Aug 2015 08:48:03 +0000 (+0200) Subject: Return exit code 1 on errors! X-Git-Url: https://arthur.barton.de/gitweb/?p=backup-script.git;a=commitdiff_plain;h=93cd0d7c833150087f94b6ef7438d7e03175badd Return exit code 1 on errors! --- diff --git a/bin/backup-script b/bin/backup-script index 0ac5fe2..7699b58 100755 --- a/bin/backup-script +++ b/bin/backup-script @@ -639,6 +639,7 @@ echo if [ $count_started -ne $count_ok ]; then echo "-----> THERE HAVE BEEN ERRORS! <-----" echo + exit 1 fi # -eof-