ipv6-update: use :onerror for outer block

This commit is contained in:
Christian Hesse 2025-05-06 09:44:23 +02:00
parent 1075b6b24e
commit 39ab19b272

View file

@ -12,7 +12,7 @@
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:local ExitOK false;
:do {
:onerror Err {
:local ScriptName [ :jobname ];
:global LogPrint;
@ -102,6 +102,6 @@
}
}
}
} on-error={
:global ExitError; $ExitError $ExitOK [ :jobname ];
} do={
:global ExitError; $ExitError $ExitOK [ :jobname ] $Err;
}