aboutsummaryrefslogtreecommitdiffstats
path: root/sms-forward
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2021-02-22 19:52:20 +0100
committerGravatar Christian Hesse <mail@eworm.de>2021-02-24 21:51:56 +0100
commit041ca062b1d07843e7ef9ae8e99a753e344189e5 (patch)
tree3425599f6d4cdecd555b6fa4b33afafd8f8ead5f /sms-forward
parentf46db918453dcb8878b9a0de6e122fb0ea2224d9 (diff)
global: use $0 for $ScriptLock
Diffstat (limited to 'sms-forward')
-rw-r--r--sms-forward2
1 files changed, 1 insertions, 1 deletions
diff --git a/sms-forward b/sms-forward
index 58ed520..1d47000 100644
--- a/sms-forward
+++ b/sms-forward
@@ -19,7 +19,7 @@
:global SymbolForNotification;
:global WaitFullyConnected;
-$ScriptLock "sms-forward";
+$ScriptLock $0;
:if ([ / tool sms get receive-enabled ] = false) do={
$LogPrintExit2 warning $0 ("Receiving of SMS is not enabled.") true;