aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--update-tunnelbroker4
1 files changed, 2 insertions, 2 deletions
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