From 637b5e21daa17b369c07667be993b1e125470e3f Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 20 Apr 2023 23:47:37 +0200 Subject: backup-email: use $FormatLine --- backup-email.rsc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'backup-email.rsc') diff --git a/backup-email.rsc b/backup-email.rsc index ba12494..e8837a0 100644 --- a/backup-email.rsc +++ b/backup-email.rsc @@ -22,6 +22,7 @@ :global CharacterReplace; :global DeviceInfo; +:global FormatLine; :global LogPrintExit2; :global MkDir; :global RandomDelay; @@ -91,9 +92,9 @@ $SendEMail2 ({ origin=$0; \ message=("See attached files for backup and config export for " . \ $Identity . ".\n\n" . \ [ $DeviceInfo ] . "\n\n" . \ - "Backup file: " . $BackupFile . "\n" . \ - "Export file: " . $ExportFile . "\n" . \ - "Config file: " . $ConfigFile); \ + [ $FormatLine "Backup file" $BackupFile ] . "\n" . \ + [ $FormatLine "Export file" $ExportFile ] . "\n" . \ + [ $FormatLine "Config file" $ConfigFile ]); \ attach=$Attach; remove-attach=true }); # wait for the mail to be sent -- cgit v1.2.3-54-g00ecf