aboutsummaryrefslogtreecommitdiffstats
path: root/backup-email
diff options
context:
space:
mode:
Diffstat (limited to 'backup-email')
-rw-r--r--backup-email5
1 files changed, 3 insertions, 2 deletions
diff --git a/backup-email b/backup-email
index 70db237..339c5a4 100644
--- a/backup-email
+++ b/backup-email
@@ -46,13 +46,14 @@ $WaitFullyConnected;
}
# filename based on identity
+:local DirName ("tmpfs/" . $0);
:local FileName [ $CharacterReplace ($Identity . "." . $Domain) "." "_" ];
-:local FilePath ($0 . "/" . $FileName);
+:local FilePath ($DirName . "/" . $FileName);
:local BackupFile "none";
:local ConfigFile "none";
:local Attach ({});
-:if ([ $MkDir $0 ] = false) do={
+:if ([ $MkDir $DirName ] = false) do={
$LogPrintExit2 error $0 ("Failed creating directory!") true;
}