]> arthur.barton.de Git - backup-script.git/commitdiff
backup-script-wrapper: Add "success" to mail subject when everything is ok
authorAlexander Barton <alex@barton.de>
Mon, 12 Sep 2016 15:33:23 +0000 (17:33 +0200)
committerAlexander Barton <alex@barton.de>
Mon, 12 Sep 2016 15:33:23 +0000 (17:33 +0200)
bin/backup-script-wrapper

index 925be37c958463a0500274eaefd0df2499f86a2f..3ce16a969dc27d73b225cdc2242f419ba5b882fa 100755 (executable)
@@ -54,6 +54,7 @@ fi
 
 case "$r" in
        0)
+               SUBJECT="$SUBJECT - success"
                ;;
        *)
                SUBJECT="$SUBJECT - with ERRORS!"