1
0
mirror of https://github.com/eworm-de/routeros-scripts.git synced 2024-05-11 05:55:19 +00:00

update-tunnelbroker: use $LogAndError

This commit is contained in:
Christian Hesse
2020-02-24 20:13:19 +01:00
parent 86ed56e7ad
commit c766d2dfda

View File

@ -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