global: use $0 for $ScriptFromTerminal

This commit is contained in:
Christian Hesse 2021-02-22 20:01:43 +01:00
parent 041ca062b1
commit 766a92a74b
2 changed files with 4 additions and 4 deletions

View file

@ -93,7 +93,7 @@ $WaitFullyConnected;
}
}
:if ([ $ScriptFromTerminal "check-routeros-update" ] = true) do={
: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={
$DoUpdate;