From 272abaf53ad9c7207ece6f29ea606dfbd0a61ddb Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Mon, 3 Dec 2018 11:48:28 +0100 Subject: [PATCH] backup-audit: Don't skip systems with errors, only print a warning --- bin/backup-audit | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 -- 2.39.2