diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-05-08 20:00:35 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-05-08 20:00:35 +0000 |
commit | 761858b179e2017f06e0cf20ebd06a6042642a7e (patch) | |
tree | 3fcc306a7204b2f9430068ff89da5a36ce0c2b27 | |
parent | feed9f8a392545c18cb5742a8c4c0051dce7b4a0 (diff) | |
download | pfsense-761858b179e2017f06e0cf20ebd06a6042642a7e.zip pfsense-761858b179e2017f06e0cf20ebd06a6042642a7e.tar.gz |
More var name fixes.
-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 197e957..6ee7072 100644 --- a/etc/inc/util.inc +++ b/etc/inc/util.inc @@ -90,7 +90,7 @@ function config_unlock() { function lock($lock) { global $g, $cfglckkeyconsumers; - if (!$file) + if (!$lock) die("WARNING: You must give a name as parameter to lock() function."); if (!file_exists("{$g['tmp_path']}/{$lock}.lock")) @touch("{$g['tmp_path']}/{$lock}.lock"); |