aboutsummaryrefslogtreecommitdiffstats
path: root/check-routeros-update
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2021-02-22 20:01:43 +0100
committerGravatar Christian Hesse <mail@eworm.de>2021-02-24 21:51:56 +0100
commit766a92a74b728653ae73df7566f1ed34981c1063 (patch)
treedef89a4a64e699f66d8efd5593981c9c9599631a /check-routeros-update
parent041ca062b1d07843e7ef9ae8e99a753e344189e5 (diff)
global: use $0 for $ScriptFromTerminal
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 fe87d9c..9dcef1d 100644
--- a/check-routeros-update
+++ b/check-routeros-update
@@ -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;