aboutsummaryrefslogtreecommitdiffstats
path: root/ipv6-update
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-02-24 20:11:23 +0100
committerGravatar Christian Hesse <mail@eworm.de>2020-02-26 11:51:49 +0100
commit286d7ced11a07686712b07483aacfb684f3311a5 (patch)
tree35e58dcc55a0e0db611f14e82223556d34f9b87f /ipv6-update
parent801608eeaf86d3855c8a3883d77b477a1ff36cf3 (diff)
ipv6-update: use $LogAndError
Diffstat (limited to 'ipv6-update')
-rw-r--r--ipv6-update4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipv6-update b/ipv6-update
index 1004119..52c02db 100644
--- a/ipv6-update
+++ b/ipv6-update
@@ -7,10 +7,10 @@
:local PdPrefix $"pd-prefix";
:global ParseKeyValueStore;
+:global LogAndError;
:if ([ :typeof $PdPrefix ] = "nothing") do={
- :log error "This script is supposed to run from ipv6 dhcp-client.";
- :error "Error: See log for details.";
+ $LogAndError "This script is supposed to run from ipv6 dhcp-client.";
}
:local Pool [ / ipv6 pool get [ find where prefix=$PdPrefix ] name ];