From f46db918453dcb8878b9a0de6e122fb0ea2224d9 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 22 Feb 2021 15:14:10 +0100 Subject: global: give script or function name in log messages --- script-updates | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'script-updates') diff --git a/script-updates b/script-updates index be79f58..e35f15c 100644 --- a/script-updates +++ b/script-updates @@ -1,6 +1,6 @@ #!rsc by RouterOS # RouterOS script: script-updates -:global LogPrintExit; +:global LogPrintExit2; -$LogPrintExit warning ("This script has been replaced by function '\$ScriptInstallUpdate'.") true; +$LogPrintExit2 warning "script-updates" ("This script has been replaced by function '\$ScriptInstallUpdate'.") true; -- cgit v1.2.3-70-g09d2