aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-02-24 20:13:19 +0100
committerGravatar Christian Hesse <mail@eworm.de>2020-02-26 11:51:49 +0100
commitc766d2dfda1a421e8e222e850bbddf644380c691 (patch)
tree5f1fcb7b69af9fb4c511deb7e2aa0695a7b7f702
parent86ed56e7ad023f75a5662493031b3109d98415ff (diff)
update-tunnelbroker: use $LogAndError
-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