diff options
author | Christian Hesse <mail@eworm.de> | 2024-03-04 16:22:17 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-03-12 15:27:15 +0100 |
commit | 4004d713aa9c9ffeb5c317a5030e0e929d668460 (patch) | |
tree | caed739b3a064e34cd3ea04b1049e9e5f6b4b171 | |
parent | ec90695e8ff892926e9839d29bdbf672d2b5ca90 (diff) |
sms-forward: do not exit with error
-rw-r--r-- | sms-forward.rsc | 3 |
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 |