aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--backup-email.rsc7
1 files changed, 4 insertions, 3 deletions
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