mirror of
https://github.com/nymurbd/MikroTik-scripts.git
synced 2025-07-08 00:54:32 +02:00
update-tunnelbroker: use $LogAndError
This commit is contained in:
parent
86ed56e7ad
commit
c766d2dfda
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue