check-perpetual-license: check for global config to be ready

This commit is contained in:
Christian Hesse 2025-05-06 14:08:37 +02:00
parent 506acb748b
commit 78463f469b

View file

@ -10,9 +10,9 @@
:local ExitOK false; :local ExitOK false;
:onerror Err { :onerror Err {
:global GlobalFunctionsReady; :global GlobalConfigReady; :global GlobalFunctionsReady;
:retry { :if ($GlobalFunctionsReady != true) \ :retry { :if ($GlobalConfigReady != true || $GlobalFunctionsReady != true) \
do={ :error ("Global functions not ready."); }; } delay=500ms max=50; do={ :error ("Global config and/or functions not ready."); }; } delay=500ms max=50;
:local ScriptName [ :jobname ]; :local ScriptName [ :jobname ];
:global Identity; :global Identity;