aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-10-07 23:18:48 +0200
committerGravatar Christian Hesse <mail@eworm.de>2020-10-07 23:27:09 +0200
commit8425290d1d7361d089407212a9f35959f821d1fb (patch)
treed8a802a09a4d4146d2789b7c5754a1afdfcca31a
parent1cb7194ec518369bd3d03ea28c12d9b4eee6cc7b (diff)
upload-backup: hint failure in subject
-rw-r--r--upload-backup6
1 files changed, 4 insertions, 2 deletions
diff --git a/upload-backup b/upload-backup
index 7fd092e..27eab0c 100644
--- a/upload-backup
+++ b/upload-backup
@@ -66,8 +66,10 @@
}
}
-$SendNotification ([ $SymbolForNotification [ $IfThenElse ($Failed > 0) "warning-sign" "floppy-disk" ] ] . "Backup & Config Upload") \
- ("Backup and config export upload for " . $Identity . ".\n\n" . \
+$SendNotification [ $IfThenElse ($Failed > 0) \
+ ([ $SymbolForNotification "warning-sign" ] . "Backup & Config upload with failure") \
+ ([ $SymbolForNotification "floppy-disk" ] . "Backup & Config upload") ] \
+ ("Backup and config export upload for " . $Identity . ".\n\n" . \
[ $DeviceInfo ] . "\n\n" . \
"Backup file: " . $BackupFile . "\n" . \
"Config file: " . $ConfigFile) "" "true";