summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-06-27 19:13:48 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-06-27 19:13:48 -0400
commit6fabe487380528dc21c006c1bc0f45df63579ff8 (patch)
treec84de674c0bfc47de35d6a5823ea0bf29d4e0cd3 /etc
parentf05d33ceaf91dd5932f8856324adf9615cd43b76 (diff)
downloadpfsense-6fabe487380528dc21c006c1bc0f45df63579ff8.zip
pfsense-6fabe487380528dc21c006c1bc0f45df63579ff8.tar.gz
If the key is 0 then return, it is not a valid key.
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 8a19b04..b87bad7 100644
--- a/etc/inc/util.inc
+++ b/etc/inc/util.inc
@@ -373,7 +373,7 @@ function lock($lock) {
function unlock($cfglckkey = 0) {
global $g, $cfglckkeyconsumers;
- if (!$cfglckkey)
+ if ($cfglckkey == 0)
return;
ini_set('error_reporting', E_NONE);
OpenPOWER on IntegriCloud