From f49ad99e2552b98b016e34c71b939f41bd7ddc18 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Sun, 27 Sep 2015 12:38:30 +0200 Subject: Fix log_dir config check --- config/squid3/34/squid.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/squid3/34/squid.inc b/config/squid3/34/squid.inc index a04e624e..e906a1bb 100755 --- a/config/squid3/34/squid.inc +++ b/config/squid3/34/squid.inc @@ -1965,7 +1965,7 @@ function squid_resync($via_rpc = "no") { } // create log dir if required if (is_array($config['installedpackages']['squid']['config'])) { - if ($config['installedpackages']['squid']['config'][0]['active_interface'] != "") { + if ($config['installedpackages']['squid']['config'][0]['log_dir'] != "") { $log_dir = $config['installedpackages']['squid']['config'][0]['log_dir'] . '/'; } } else { -- cgit v1.2.3