mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-16 13:04:30 +02:00
check-routeros-update: use correct syntax
This commit is contained in:
parent
5e32105e7e
commit
dfe995be27
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