diff options
author | Christian Hesse <mail@eworm.de> | 2023-04-24 21:54:50 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2023-04-24 22:26:26 +0200 |
commit | 83e57e6aabcd59b453f0e96695e7ceaf31c1ad6b (patch) | |
tree | 01f4c9ea7d3751814e808855434748b522b51ba9 /backup-upload.rsc | |
parent | fb9feea5950caec1c9bd7b9a3188cc312bf61956 (diff) | |
parent | 82b5ae174ac15bb6c2b7180980da12c1908de7df (diff) |
Merge branch 'FormatLine' into next
Diffstat (limited to 'backup-upload.rsc')
-rw-r--r-- | backup-upload.rsc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/backup-upload.rsc b/backup-upload.rsc index 4c09d4a..9fb35d8 100644 --- a/backup-upload.rsc +++ b/backup-upload.rsc @@ -25,6 +25,7 @@ :global CharacterReplace; :global DeviceInfo; +:global FormatLine; :global IfThenElse; :global LogPrintExit2; :global MkDir; @@ -120,9 +121,9 @@ $SendNotification2 ({ origin=$0; \ ([ $SymbolForNotification "floppy-disk,up-arrow" ] . "Backup & Config upload") ]; \ message=("Backup and config export upload for " . $Identity . ".\n\n" . \ [ $DeviceInfo ] . "\n\n" . \ - "Backup file: " . $BackupFile . "\n" . \ - "Export file: " . $ExportFile . "\n" . \ - "Config file: " . $ConfigFile); silent=true }); + [ $FormatLine "Backup file" $BackupFile ] . "\n" . \ + [ $FormatLine "Export file" $ExportFile ] . "\n" . \ + [ $FormatLine "Config file" $ConfigFile ]); silent=true }); :if ($Failed = 1) do={ :error "An error occured!"; |