aboutsummaryrefslogtreecommitdiffstats
path: root/lease-script
diff options
context:
space:
mode:
Diffstat (limited to 'lease-script')
-rw-r--r--lease-script4
1 files changed, 2 insertions, 2 deletions
diff --git a/lease-script b/lease-script
index 9109ea9..1e73b31 100644
--- a/lease-script
+++ b/lease-script
@@ -4,13 +4,13 @@
#
# run scripts on DHCP lease
-:global LogAndError;
+:global LogPrintExit;
:if ([ :typeof $leaseActIP ] = "nothing" || \
[ :typeof $leaseActMAC ] = "nothing" || \
[ :typeof $leaseServerName ] = "nothing" || \
[ :typeof $leaseBound ] = "nothing") do={
- $LogAndError error "This script is supposed to run from ip dhcp-client.";
+ $LogPrintExit error "This script is supposed to run from ip dhcp-client." true;
}
:local Scripts;