From 9fc75f5932d6a1db129b2d74cfa1fd2aed851328 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 27 Apr 2021 21:49:39 +0200 Subject: upload-backup: pass origin to $SendNotification2 --- upload-backup | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/upload-backup b/upload-backup index eb9e2e0..921b196 100644 --- a/upload-backup +++ b/upload-backup @@ -80,7 +80,8 @@ $WaitFullyConnected; } } -$SendNotification2 ({ subject=[ $IfThenElse ($Failed > 0) \ +$SendNotification2 ({ origin=$0; \ + subject=[ $IfThenElse ($Failed > 0) \ ([ $SymbolForNotification "warning-sign" ] . "Backup & Config upload with failure") \ ([ $SymbolForNotification "floppy-disk" ] . "Backup & Config upload") ]; \ message=("Backup and config export upload for " . $Identity . ".\n\n" . \ -- cgit v1.2.3-54-g00ecf