aboutsummaryrefslogtreecommitdiffstats
path: root/sms-forward
diff options
context:
space:
mode:
Diffstat (limited to 'sms-forward')
-rw-r--r--sms-forward3
1 files changed, 3 insertions, 0 deletions
diff --git a/sms-forward b/sms-forward
index bd750b6..bd1f9d6 100644
--- a/sms-forward
+++ b/sms-forward
@@ -10,10 +10,13 @@
:global LogPrintExit;
:global MailServerIsUp;
+:global ScriptLock;
:global SendNotification;
:global SymbolForNotification;
:global WaitFullyConnected;
+$ScriptLock "sms-forward";
+
:if ([ / tool sms get receive-enabled ] = false) do={
$LogPrintExit warning "Receiving of SMS is not enabled." true;
}