global-functions: $ExitError: drop argument $ExitOK...

... as the is no longer required with early exit with :exit.
This commit is contained in:
Christian Hesse 2026-01-19 15:29:59 +01:00
parent 4dee3a9d62
commit 104639264a
69 changed files with 80 additions and 81 deletions

View file

@ -82,7 +82,7 @@
$LogPrint info $FuncName ("No action defined for " . $Count . " mode-button presses.");
}
} do={
:global ExitError; $ExitError false $0 $Err;
:global ExitError; $ExitError $0 $Err;
} }
/system/scheduler/add name="_ModeButtonScheduler" \
on-event=":global ModeButtonScheduler; \$ModeButtonScheduler;" interval=3s;
@ -91,5 +91,5 @@
/system/scheduler/set $Scheduler start-time=[ /system/clock/get time ];
}
} do={
:global ExitError; $ExitError false [ :jobname ] $Err;
:global ExitError; $ExitError [ :jobname ] $Err;
}