aboutsummaryrefslogtreecommitdiffstats
path: root/ppp-on-up
diff options
context:
space:
mode:
Diffstat (limited to 'ppp-on-up')
-rw-r--r--ppp-on-up4
1 files changed, 2 insertions, 2 deletions
diff --git a/ppp-on-up b/ppp-on-up
index 415663c..48d3413 100644
--- a/ppp-on-up
+++ b/ppp-on-up
@@ -4,12 +4,12 @@
#
# run scripts on ppp up
-:global LogAndError;
+:global LogPrintExit;
:local Interface $interface;
:if ([ :typeof $Interface ] = "nothing") do={
- $LogAndError error "This script is supposed to run from ppp on-up script hook.";
+ $LogPrintExit error "This script is supposed to run from ppp on-up script hook." true;
}
:local IntName [ / interface get $Interface name ];