summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/util.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc
index 85bf991..3a402e6 100644
--- a/etc/inc/util.inc
+++ b/etc/inc/util.inc
@@ -123,7 +123,7 @@ function lock($lock) {
@touch("{$g['tmp_path']}/{$lock}.lock");
$config_lock_key = ftok("{$g['tmp_path']}/{$lock}.lock", 'a');
- $cfglckkey = sem_get($config_lock_key, 1);
+ $cfglckkey = sem_get($config_lock_key, 1, 0666, true);
$cfglckkeyconsumers++;
// Rely on or own logging for errors here.
OpenPOWER on IntegriCloud