diff options
Diffstat (limited to 'check-routeros-update.rsc')
-rw-r--r-- | check-routeros-update.rsc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/check-routeros-update.rsc b/check-routeros-update.rsc index 4c1aaf9..1405d4e 100644 --- a/check-routeros-update.rsc +++ b/check-routeros-update.rsc @@ -39,7 +39,7 @@ $ScriptLock $0; $WaitFullyConnected; -:if ([ :len [ /system/scheduler/find where name="reboot-for-update" ] ] > 0) do={ +:if ([ :len [ /system/scheduler/find where name="\$RebootForUpdate" ] ] > 0) do={ :error "A reboot for update is already scheduled."; } |