diff options
author | Christian Hesse <mail@eworm.de> | 2022-01-30 22:05:58 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2022-01-30 22:08:31 +0100 |
commit | 221b0409d5198c13c11b0dddb730bd0bf5752efe (patch) | |
tree | 3c2d3fe1baf0d38df972e8f8a80ae9b7b461dfe4 | |
parent | 0a9d0473f37b0091ff115ac7d47d93a521c37c7a (diff) |
check-routeros-update: use correct syntax
(cherry picked from commit dfe995be270f1ee9621454e7feada84c33168db0)
-rw-r--r-- | check-routeros-update | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/check-routeros-update b/check-routeros-update index 0f687a5..8cad07a 100644 --- a/check-routeros-update +++ b/check-routeros-update @@ -108,7 +108,7 @@ $LogPrintExit2 debug $0 ("Checking for updates...") false; :if ([ $ScriptFromTerminal $0 ] = true) do={ :put ("Do you want to install RouterOS version " . $Update->"latest-version" . "? [y/N]"); - :if (([ :terminal inkey timeout=60 ] % 32) = 25) do={ + :if (([ / terminal inkey timeout=60 ] % 32) = 25) do={ $DoUpdate; } else={ :put "Canceled..."; |