aboutsummaryrefslogtreecommitdiffstats
path: root/packages-update.rsc
diff options
context:
space:
mode:
Diffstat (limited to 'packages-update.rsc')
-rw-r--r--packages-update.rsc4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages-update.rsc b/packages-update.rsc
index e6bed78..5b6d158 100644
--- a/packages-update.rsc
+++ b/packages-update.rsc
@@ -43,7 +43,9 @@
:return true;
}
- $ScriptLock $ScriptName;
+ :if ([ $ScriptLock $ScriptName ] = false) do={
+ :return false;
+ }
:local Update [ /system/package/update/get ];