From c766d2dfda1a421e8e222e850bbddf644380c691 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 24 Feb 2020 20:13:19 +0100 Subject: update-tunnelbroker: use $LogAndError --- update-tunnelbroker | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'update-tunnelbroker') diff --git a/update-tunnelbroker b/update-tunnelbroker index da621e2..1dd11f1 100644 --- a/update-tunnelbroker +++ b/update-tunnelbroker @@ -5,10 +5,10 @@ :global CertificateAvailable; :global ParseKeyValueStore; +:global LogAndError; :if ([ / ip cloud get ddns-enabled ] != true) do={ - :log error "IP cloud DDNS is not enabled."; - :error "Error: See log for details."; + $LogAndError "IP cloud DDNS is not enabled."; } # Get the current ip address from cloud -- cgit v1.2.3-70-g09d2