sms-forward: do not exit with error

This commit is contained in:
Christian Hesse 2024-03-04 16:22:17 +01:00
parent ec90695e8f
commit 4004d713aa

View file

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