diff options
author | Christian Hesse <mail@eworm.de> | 2020-10-07 23:18:48 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-10-07 23:27:09 +0200 |
commit | 8425290d1d7361d089407212a9f35959f821d1fb (patch) | |
tree | d8a802a09a4d4146d2789b7c5754a1afdfcca31a /upload-backup | |
parent | 1cb7194ec518369bd3d03ea28c12d9b4eee6cc7b (diff) |
upload-backup: hint failure in subject
Diffstat (limited to 'upload-backup')
-rw-r--r-- | upload-backup | 6 |
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"; |