mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-12-06 01:49:28 +00:00
packages-update: fix condition when checking for scheduler
This broke with commit 6b0c9ab17d2e7e3693cebf281e5300d1e4de3446...
This commit is contained in:
parent
14b51d96b0
commit
a931cb61a0
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@
|
|||
/system/reboot;
|
||||
}
|
||||
|
||||
:if ([ /system/scheduler/find where name="_RebootForUpdate" ] > 0) do={
|
||||
:if ([ :len [ /system/scheduler/find where name="_RebootForUpdate" ] ] > 0) do={
|
||||
$LogPrint warning $ScriptName ("Scheduler for reboot already exists.");
|
||||
:return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue