mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-25 21:34:30 +02:00
check-routeros-update: use correct syntax
(cherry picked from commit dfe995be27
)
This commit is contained in:
parent
0a9d0473f3
commit
221b0409d5
1 changed files with 1 additions and 1 deletions
|
@ -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...";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue