aboutsummaryrefslogtreecommitdiffstats
path: root/sms-forward.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-03-04 16:22:17 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-03-12 15:27:15 +0100
commit4004d713aa9c9ffeb5c317a5030e0e929d668460 (patch)
treecaed739b3a064e34cd3ea04b1049e9e5f6b4b171 /sms-forward.rsc
parentec90695e8ff892926e9839d29bdbf672d2b5ca90 (diff)
sms-forward: do not exit with error
Diffstat (limited to 'sms-forward.rsc')
-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