check-routeros-update: use 'print count-only'

This commit is contained in:
Christian Hesse 2018-11-09 21:37:19 +01:00
parent 7fcb253f32
commit e486332d36

View file

@ -10,7 +10,7 @@
:global SendNotification;
:if ([ :len [ / system package find where name="wireless" disabled=no ] ] > 0) do={
:if ([ / system package print count-only where name="wireless" disabled=no ] > 0) do={
:if ([ / interface wireless cap get enabled ] = true && \
[ / caps-man manager get enabled ] = false) do={
:error "System is managed by CAPsMAN, not checking.";