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 eb182fe769
commit 2e422a153f
69 changed files with 83 additions and 86 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;
}