aboutsummaryrefslogtreecommitdiffstats
path: root/check-health.rsc
diff options
context:
space:
mode:
Diffstat (limited to 'check-health.rsc')
-rw-r--r--check-health.rsc4
1 files changed, 3 insertions, 1 deletions
diff --git a/check-health.rsc b/check-health.rsc
index 9d7c68e..df76d25 100644
--- a/check-health.rsc
+++ b/check-health.rsc
@@ -39,7 +39,9 @@
:return ($T->0 * 10 + $T->1);
}
- $ScriptLock $ScriptName;
+ :if ([ $ScriptLock $ScriptName ] = false) do={
+ :return false;
+ }
:local Resource [ /system/resource/get ];