aboutsummaryrefslogtreecommitdiffstats
path: root/capsman-rolling-upgrade.wifi.rsc
diff options
context:
space:
mode:
Diffstat (limited to 'capsman-rolling-upgrade.wifi.rsc')
-rw-r--r--capsman-rolling-upgrade.wifi.rsc4
1 files changed, 3 insertions, 1 deletions
diff --git a/capsman-rolling-upgrade.wifi.rsc b/capsman-rolling-upgrade.wifi.rsc
index d788c29..205d1d8 100644
--- a/capsman-rolling-upgrade.wifi.rsc
+++ b/capsman-rolling-upgrade.wifi.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 ];