backup-upload: use $RmFile

This commit is contained in:
Christian Hesse 2025-02-07 16:10:05 +01:00
parent 81ba47a07d
commit 88ff031368

View file

@ -36,6 +36,7 @@
:global MkDir; :global MkDir;
:global RandomDelay; :global RandomDelay;
:global RmDir; :global RmDir;
:global RmFile;
:global ScriptFromTerminal; :global ScriptFromTerminal;
:global ScriptLock; :global ScriptLock;
:global SendNotification2; :global SendNotification2;
@ -100,7 +101,7 @@
:set Failed 1; :set Failed 1;
} }
/file/remove ($FilePath . ".backup"); $RmFile ($FilePath . ".backup");
} }
# create configuration export # create configuration export
@ -119,7 +120,7 @@
:set Failed 1; :set Failed 1;
} }
/file/remove ($FilePath . ".rsc"); $RmFile ($FilePath . ".rsc");
} }
# global-config-overlay # global-config-overlay
@ -140,7 +141,7 @@
:set Failed 1; :set Failed 1;
} }
/file/remove ($FilePath . ".conf"); $RmFile ($FilePath . ".conf");
} }
:local FileInfo do={ :local FileInfo do={