aboutsummaryrefslogtreecommitdiffstats
path: root/upload-backup
diff options
context:
space:
mode:
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; \