diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-09-12 13:34:46 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-09-12 13:34:46 -0400 |
commit | 50059c175d421755a5e966df5e501079a5de825d (patch) | |
tree | e137de72da54b6664dc6dcca703e6116dc6c0f2d /etc/inc | |
parent | 3ea73062897ee1121e0a9cfbb26625179c08cdcb (diff) | |
download | pfsense-50059c175d421755a5e966df5e501079a5de825d.zip pfsense-50059c175d421755a5e966df5e501079a5de825d.tar.gz |
Set auto_release
Diffstat (limited to 'etc/inc')
-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 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. |