diff options
author | Christian Hesse <mail@eworm.de> | 2021-06-16 14:44:28 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2021-06-16 14:59:16 +0200 |
commit | 1e1b98b161d0d8a2e9930c4676a44e898dd9049d (patch) | |
tree | e770fe3c8039e7bb134a7ed9f79761ea2a24ece9 | |
parent | c60c96e32a8ab017c93d450d710a650c41fc76a7 (diff) |
upload-backup: remove file after upload
-rw-r--r-- | upload-backup | 4 |
1 files changed, 4 insertions, 0 deletions
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; \ |