diff options
-rw-r--r-- | backup-upload | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/backup-upload b/backup-upload index 110ef25..338db3f 100644 --- a/backup-upload +++ b/backup-upload @@ -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 Failed 0; -:if ([ $MkDir $0 ] = false) do={ +:if ([ $MkDir $DirName ] = false) do={ $LogPrintExit2 error $0 ("Failed creating directory!") true; } |