]> arthur.barton.de Git - backup-script.git/commitdiff
Return exit code 1 on errors!
authorAlexander Barton <alex@barton.de>
Tue, 18 Aug 2015 08:48:03 +0000 (10:48 +0200)
committerAlexander Barton <alex@barton.de>
Tue, 18 Aug 2015 08:48:03 +0000 (10:48 +0200)
bin/backup-script

index 0ac5fe242ad22abf5780b953e13027773a7a1524..7699b587813b4fd0046a3f3b551d2c37a4b41444 100755 (executable)
@@ -639,6 +639,7 @@ echo
 if [ $count_started -ne $count_ok ]; then
        echo "----->  THERE HAVE BEEN ERRORS!  <-----"
        echo
+       exit 1
 fi
 
 # -eof-