aboutsummaryrefslogtreecommitdiffstats
path: root/daily-psk.capsman.rsc
diff options
context:
space:
mode:
Diffstat (limited to 'daily-psk.capsman.rsc')
-rw-r--r--daily-psk.capsman.rsc4
1 files changed, 3 insertions, 1 deletions
diff --git a/daily-psk.capsman.rsc b/daily-psk.capsman.rsc
index b47ae14..85e05b6 100644
--- a/daily-psk.capsman.rsc
+++ b/daily-psk.capsman.rsc
@@ -30,7 +30,9 @@
:global WaitForFile;
:global WaitFullyConnected;
- $ScriptLock $ScriptName;
+ :if ([ $ScriptLock $ScriptName ] = false) do={
+ :return false;
+ }
$WaitFullyConnected;
# return pseudo-random string for PSK