From 5c38d65ad38dbfdee636021472009dbff055ea03 Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Sat, 12 Sep 2009 01:55:48 -0400 Subject: set auto_release --- etc/inc/util.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/inc') 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)) { -- cgit v1.1