From 766a92a74b728653ae73df7566f1ed34981c1063 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 22 Feb 2021 20:01:43 +0100 Subject: global: use $0 for $ScriptFromTerminal --- check-routeros-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'check-routeros-update') 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; -- cgit v1.2.3-70-g09d2