aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--backup-email.rsc8
1 files changed, 4 insertions, 4 deletions
diff --git a/backup-email.rsc b/backup-email.rsc
index 95e9015..f4f1fc8 100644
--- a/backup-email.rsc
+++ b/backup-email.rsc
@@ -82,10 +82,10 @@ $WaitFullyConnected;
:if ($BackupSendGlobalConfig = true) do={
# Do *NOT* use '/file/add ...' here, as it is limited to 4095 bytes!
:execute script={ :put [ /system/script/get global-config-overlay source ]; } \
- file=($FilePath . ".conf");
- $WaitForFile ($FilePath . ".conf.txt");
- :set ConfigFile ($FileName . ".conf.txt");
- :set Attach ($Attach, ($FilePath . ".conf.txt"));
+ file=($FilePath . ".conf\00");
+ $WaitForFile ($FilePath . ".conf");
+ :set ConfigFile ($FileName . ".conf");
+ :set Attach ($Attach, ($FilePath . ".conf"));
}
# send email with status and files