mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
sms-forward: do not exit with error
This commit is contained in:
parent
ec90695e8f
commit
4004d713aa
1 changed files with 2 additions and 1 deletions
|
@ -38,7 +38,8 @@
|
||||||
:local Settings [ /tool/sms/get ];
|
:local Settings [ /tool/sms/get ];
|
||||||
|
|
||||||
:if ([ /interface/lte/get ($Settings->"port") running ] != true) do={
|
:if ([ /interface/lte/get ($Settings->"port") running ] != true) do={
|
||||||
$LogPrintExit2 info $ScriptName ("The LTE interface is not in running state, skipping.") true;
|
$LogPrintExit2 info $ScriptName ("The LTE interface is not in running state, skipping.") false;
|
||||||
|
:return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
# forward SMS in a loop
|
# forward SMS in a loop
|
||||||
|
|
Loading…
Reference in a new issue