aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-04-20 23:47:37 +0200
committerGravatar Christian Hesse <mail@eworm.de>2023-04-24 22:26:26 +0200
commit637b5e21daa17b369c07667be993b1e125470e3f (patch)
tree19a2f8301b11b6fcde2042e9e67f60f4ace84ad7
parent31553f86a6bbdf1ba8c46548763eb7ad6e6c74f5 (diff)
backup-email: use $FormatLine
-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