aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Fuchs <martin.fuchs@trendchiller.com>2012-01-04 17:43:02 +0100
committerMartin Fuchs <martin.fuchs@trendchiller.com>2012-01-04 17:43:02 +0100
commit1629a1a47c0ed3594ef9a9e5ad8e529b0e18fa23 (patch)
tree409f9394023669038bfeffa134402f8cbf91ab3a
parentad11f950702f9bf9f3cd3f18f0b6a86eb4434328 (diff)
downloadpfsense-packages-1629a1a47c0ed3594ef9a9e5ad8e529b0e18fa23.tar.gz
pfsense-packages-1629a1a47c0ed3594ef9a9e5ad8e529b0e18fa23.tar.bz2
pfsense-packages-1629a1a47c0ed3594ef9a9e5ad8e529b0e18fa23.zip
based on jimp's 7bfe60dd9e5670bb8bbc403784c69b1dcce8e923
-rw-r--r--config/squid-reverse/squid.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/squid-reverse/squid.inc b/config/squid-reverse/squid.inc
index f8fd13ba..151f710c 100644
--- a/config/squid-reverse/squid.inc
+++ b/config/squid-reverse/squid.inc
@@ -708,7 +708,7 @@ EOD;
// Rotating also ensures that swap.state is rewritten, so is useful even if the logs
// are not being rotated.
$rotate = empty($settings['log_rotate']) ? 0 : $settings['log_rotate'];
-$conf .= "logfile_rotate {$settings['log_rotate']}\n";
+$conf .= "logfile_rotate {$rotate}\n";
squid_install_cron(true);
$conf .= <<<EOD