diff options
author | Chris Buechler <cmb@pfsense.org> | 2009-09-12 01:55:48 -0400 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2009-09-12 01:55:48 -0400 |
commit | 5c38d65ad38dbfdee636021472009dbff055ea03 (patch) | |
tree | fd93882cab853864895db2d9b9461f6ff49fc43e /etc | |
parent | f986e40271db95c34307852ec8a9d96a094798fb (diff) | |
download | pfsense-5c38d65ad38dbfdee636021472009dbff055ea03.zip pfsense-5c38d65ad38dbfdee636021472009dbff055ea03.tar.gz |
set auto_release
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/util.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc index b87bad7..6fc5476 100644 --- a/etc/inc/util.inc +++ b/etc/inc/util.inc @@ -354,7 +354,7 @@ function lock($lock) { @touch("{$g['tmp_path']}/{$lock}.lock"); ini_set('error_reporting', E_NONE); $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. if (!sem_acquire($cfglckkey)) { |