aboutsummaryrefslogtreecommitdiffstats
path: root/daily-psk.local.rsc
diff options
context:
space:
mode:
Diffstat (limited to 'daily-psk.local.rsc')
-rw-r--r--daily-psk.local.rsc4
1 files changed, 3 insertions, 1 deletions
diff --git a/daily-psk.local.rsc b/daily-psk.local.rsc
index 72e20ef..108c711 100644
--- a/daily-psk.local.rsc
+++ b/daily-psk.local.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