aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sms-forward.rsc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sms-forward.rsc b/sms-forward.rsc
index fee1539..f85dab2 100644
--- a/sms-forward.rsc
+++ b/sms-forward.rsc
@@ -38,7 +38,8 @@
:local Settings [ /tool/sms/get ];
: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