summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-09-12 13:34:46 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-09-12 13:34:46 -0400
commit50059c175d421755a5e966df5e501079a5de825d (patch)
treee137de72da54b6664dc6dcca703e6116dc6c0f2d /etc
parent3ea73062897ee1121e0a9cfbb26625179c08cdcb (diff)
downloadpfsense-50059c175d421755a5e966df5e501079a5de825d.zip
pfsense-50059c175d421755a5e966df5e501079a5de825d.tar.gz
Set auto_release
Diffstat (limited to 'etc')
-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