aboutsummaryrefslogtreecommitdiffstats
path: root/upload-backup
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2021-06-16 14:44:28 +0200
committerGravatar Christian Hesse <mail@eworm.de>2021-06-16 14:59:16 +0200
commit1e1b98b161d0d8a2e9930c4676a44e898dd9049d (patch)
treee770fe3c8039e7bb134a7ed9f79761ea2a24ece9 /upload-backup
parentc60c96e32a8ab017c93d450d710a650c41fc76a7 (diff)
upload-backup: remove file after upload
Diffstat (limited to 'upload-backup')
-rw-r--r--upload-backup4
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; \