aboutsummaryrefslogtreecommitdiffstats
path: root/capsman-rolling-upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'capsman-rolling-upgrade')
-rw-r--r--capsman-rolling-upgrade2
1 files changed, 1 insertions, 1 deletions
diff --git a/capsman-rolling-upgrade b/capsman-rolling-upgrade
index 698ff93..61552f5 100644
--- a/capsman-rolling-upgrade
+++ b/capsman-rolling-upgrade
@@ -14,7 +14,7 @@ $ScriptLock "capsman-rolling-upgrade";
:local InstalledVersion [ / system package update get installed-version ];
-:local RemoteCapCount [ /caps-man remote-cap print count-only ];
+:local RemoteCapCount [ :len [ / caps-man remote-cap find ] ];
:if ($RemoteCapCount > 0) do={
:local Delay (600 / $RemoteCapCount);
:if ($Delay > 120) do={ :set Delay 120; }