diff options
author | Christian Hesse <mail@eworm.de> | 2024-03-08 09:26:53 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-03-12 15:27:15 +0100 |
commit | e39e8a00834192211999b89f5f163a35c2214707 (patch) | |
tree | b60c6b61aa2a4c5c7aa14cce575a5a17200af5d7 /backup-upload.rsc | |
parent | 51b00181cf6524f173f0464a237bdb63c3f0734a (diff) |
backup-upload: pass failure to packages-update
Diffstat (limited to 'backup-upload.rsc')
-rw-r--r-- | backup-upload.rsc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/backup-upload.rsc b/backup-upload.rsc index 2b42730..769972b 100644 --- a/backup-upload.rsc +++ b/backup-upload.rsc @@ -25,6 +25,7 @@ :global BackupUploadUser; :global Domain; :global Identity; + :global PackagesUpdateBackupFailure; :global CleanName; :global DeviceInfo; @@ -45,6 +46,7 @@ } :if ([ $ScriptLock $ScriptName ] = false) do={ + :set PackagesUpdateBackupFailure true; :error false; } $WaitFullyConnected; @@ -151,6 +153,7 @@ [ $FileInfo "Config file" $ConfigFile ]); silent=true }); :if ($Failed = 1) do={ - :error "An error occured!"; + :set PackagesUpdateBackupFailure true; + :error false; } } on-error={ } |