diff options
author | Christian Hesse <mail@eworm.de> | 2024-01-18 10:07:29 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-01-18 10:19:22 +0100 |
commit | bb0c82adb365a0ce04e83b2bebd1cc39b8ee3542 (patch) | |
tree | 8073679c70385bedaf728038a96d45be5cc913f5 | |
parent | a7619a51195effef1f4c2f8aa8e8151c6e0e1094 (diff) |
sms-forward: log warning just once
-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 3249654..fb4d73c 100644 --- a/sms-forward.rsc +++ b/sms-forward.rsc @@ -16,6 +16,7 @@ :global IfThenElse; :global LogPrintExit2; +:global LogPrintOnce; :global ScriptLock; :global SendNotification2; :global SymbolForNotification; @@ -25,7 +26,7 @@ $ScriptLock $0; :if ([ /tool/sms/get receive-enabled ] = false) do={ - $LogPrintExit2 warning $0 ("Receiving of SMS is not enabled.") true; + $LogPrintOnce warning $0 ("Receiving of SMS is not enabled.") true; } $WaitFullyConnected; |