aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-11-16 13:15:28 +0100
committerGravatar Christian Hesse <mail@eworm.de>2023-11-16 13:18:10 +0100
commitab8c9d04ffb331dd5c00f0cceae395a871df7936 (patch)
tree4918491600e35e78415959cd396e6f4efe128206
parent6384f6a23986dfc0f851dcecedd6838e1b975e41 (diff)
check-routeros-update: rename scheduler
This was missing for commit f7c72b6ed96e45bf1fbb54c46ce09e1fccc791be...
-rw-r--r--check-routeros-update.rsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/check-routeros-update.rsc b/check-routeros-update.rsc
index d77164d..0b621f7 100644
--- a/check-routeros-update.rsc
+++ b/check-routeros-update.rsc
@@ -41,7 +41,7 @@ $ScriptLock $0;
$WaitFullyConnected;
-:if ([ :len [ /system/scheduler/find where name="\$RebootForUpdate" ] ] > 0) do={
+:if ([ :len [ /system/scheduler/find where name="_RebootForUpdate" ] ] > 0) do={
:error "A reboot for update is already scheduled.";
}