aboutsummaryrefslogtreecommitdiffstats
path: root/capsman-rolling-upgrade.wifiwave2.rsc
diff options
context:
space:
mode:
Diffstat (limited to 'capsman-rolling-upgrade.wifiwave2.rsc')
-rw-r--r--capsman-rolling-upgrade.wifiwave2.rsc4
1 files changed, 3 insertions, 1 deletions
diff --git a/capsman-rolling-upgrade.wifiwave2.rsc b/capsman-rolling-upgrade.wifiwave2.rsc
index 78e348d..4b3aba4 100644
--- a/capsman-rolling-upgrade.wifiwave2.rsc
+++ b/capsman-rolling-upgrade.wifiwave2.rsc
@@ -21,7 +21,9 @@
:global LogPrintExit2;
:global ScriptLock;
- $ScriptLock $ScriptName;
+ :if ([ $ScriptLock $ScriptName ] = false) do={
+ :return false;
+ }
:local InstalledVersion [ /system/package/update/get installed-version ];