collect-wireless-mac: fail if global functions do not become ready

Co-authored-by: Ilya Kulakov <kulakov.ilya@gmail.com>
This commit is contained in:
Christian Hesse 2025-05-05 18:01:28 +02:00
parent 7ef3d0a1be
commit 885441bebf
4 changed files with 8 additions and 4 deletions

View file

@ -12,7 +12,8 @@
# !! Do not edit this file, it is generated from template!
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:onerror e { :retry { :if ($GlobalFunctionsReady != true) \
do={ :error "Global functions not ready."; }; } delay=500ms max=20; } do={ :log error $e; };
:local ExitOK false;
:do {