From: Alexander Barton Date: Mon, 3 Dec 2018 10:48:28 +0000 (+0100) Subject: backup-audit: Don't skip systems with errors, only print a warning X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=backup-script.git;a=commitdiff_plain;h=272abaf53ad9c7207ece6f29ea606dfbd0a61ddb backup-audit: Don't skip systems with errors, only print a warning --- diff --git a/bin/backup-audit b/bin/backup-audit index 36c871d..6cfcf16 100755 --- a/bin/backup-audit +++ b/bin/backup-audit @@ -140,9 +140,8 @@ HandleSystem() { # shellcheck source=/dev/null source "$latest_d/.stamp" - if [[ $code -ne 0 && $code -ne 24 ]]; then - echo "Last backup generation has errors, skipping system!" - echo; return 1 + if [[ $code -ne 0 ]]; then + echo "Warning: Last backup generation had errors, code $code!" fi # Search previous generation without errors