diff options
author | Christian Hesse <mail@eworm.de> | 2024-02-02 11:07:36 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-02-02 12:53:45 +0100 |
commit | c21da0454b60b45e5e8619c3327c3b4101d89e0c (patch) | |
tree | 0abbdb76fac38a5e3aa2ab3a1867bc7526734f20 /backup-partition.rsc | |
parent | 7b30af90b707e6b0fe8629722bd17605e1e09b93 (diff) |
backup-partition: make sure to remove the scheduler on failure
Diffstat (limited to 'backup-partition.rsc')
-rw-r--r-- | backup-partition.rsc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backup-partition.rsc b/backup-partition.rsc index 0eaf166..1db5e1d 100644 --- a/backup-partition.rsc +++ b/backup-partition.rsc @@ -39,6 +39,7 @@ $ScriptLock $0; $LogPrintExit2 info $0 ("Saved configuration to partition '" . \ $FallbackTo . "'.") false; } on-error={ + /system/scheduler/remove [ find where name="running-from-backup-partition" ]; $LogPrintExit2 error $0 ("Failed saving configuration to partition '" . \ $FallbackTo . "'!") true; } |