aboutsummaryrefslogtreecommitdiffstats
path: root/check-routeros-update
diff options
context:
space:
mode:
Diffstat (limited to 'check-routeros-update')
-rw-r--r--check-routeros-update2
1 files changed, 1 insertions, 1 deletions
diff --git a/check-routeros-update b/check-routeros-update
index 7df980e..079c918 100644
--- a/check-routeros-update
+++ b/check-routeros-update
@@ -62,7 +62,7 @@
:if ([ $ScriptFromTerminal "check-routeros-update" ] = true) do={
:put ("Do you want to install RouterOS version " . $Update->"latest-version" . "? [y/N]");
- :if ([ :terminal inkey timeout=60 ] = 121) do={
+ :if (([ :terminal inkey timeout=60 ] % 32) = 25) do={
$DoUpdate;
} else={
:put "Canceled...";