aboutsummaryrefslogtreecommitdiffstats
path: root/upload-backup
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2021-04-27 21:49:39 +0200
committerGravatar Christian Hesse <mail@eworm.de>2021-04-28 13:58:37 +0200
commit9fc75f5932d6a1db129b2d74cfa1fd2aed851328 (patch)
tree92850b2bccf3e9ccf610847af6d7d6e148ff82b4 /upload-backup
parent0d249d6da4fa1e1a02b7bdaee8be6c4be72b942b (diff)
upload-backup: pass origin to $SendNotification2
Diffstat (limited to 'upload-backup')
-rw-r--r--upload-backup3
1 files changed, 2 insertions, 1 deletions
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" . \