From 8425290d1d7361d089407212a9f35959f821d1fb Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 7 Oct 2020 23:18:48 +0200 Subject: upload-backup: hint failure in subject --- upload-backup | 6 ++++-- 1 file 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"; -- cgit v1.2.3-70-g09d2