From 1e1b98b161d0d8a2e9930c4676a44e898dd9049d Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 16 Jun 2021 14:44:28 +0200 Subject: upload-backup: remove file after upload --- upload-backup | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/upload-backup b/upload-backup index 8136599..d79039a 100644 --- a/upload-backup +++ b/upload-backup @@ -68,6 +68,8 @@ $WaitFullyConnected; :set BackupFile "failed"; :set Failed 1; } + + / file remove ($FilePath . ".backup"); } # create configuration export @@ -84,6 +86,8 @@ $WaitFullyConnected; :set ConfigFile "failed"; :set Failed 1; } + + / file remove ($FilePath . ".rsc"); } $SendNotification2 ({ origin=$0; \ -- cgit v1.2.3-70-g09d2