aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-06-13 08:56:10 +0200
committerGravatar Christian Hesse <mail@eworm.de>2023-06-13 08:58:32 +0200
commitd2de9be4394b5a8dc8aa93f262440545a046a90c (patch)
treef17afac97f2ea360eada731cb69c0a4518febf7b
parente0714bdfff451c6fc653abbc7007b430d768273a (diff)
check-lte-firmware-upgrade: lock the script
-rw-r--r--check-lte-firmware-upgrade.rsc4
1 files changed, 4 insertions, 0 deletions
diff --git a/check-lte-firmware-upgrade.rsc b/check-lte-firmware-upgrade.rsc
index 92ebe51..a2aec01 100644
--- a/check-lte-firmware-upgrade.rsc
+++ b/check-lte-firmware-upgrade.rsc
@@ -12,6 +12,10 @@
:global SentLteFirmwareUpgradeNotification;
+:global ScriptLock;
+
+$ScriptLock $0;
+
:if ([ :typeof $SentLteFirmwareUpgradeNotification ] != "array") do={
:global SentLteFirmwareUpgradeNotification ({});
}