aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-12-30 09:21:41 -0500
committerjim-p <jimp@pfsense.org>2011-12-30 09:23:01 -0500
commit7bfe60dd9e5670bb8bbc403784c69b1dcce8e923 (patch)
tree2144314d18a8c507689d464730ecbff00f5461b8 /config/squid
parentd6332e4d154a9018618884b1354c968bf886a270 (diff)
downloadpfsense-packages-7bfe60dd9e5670bb8bbc403784c69b1dcce8e923.tar.gz
pfsense-packages-7bfe60dd9e5670bb8bbc403784c69b1dcce8e923.tar.bz2
pfsense-packages-7bfe60dd9e5670bb8bbc403784c69b1dcce8e923.zip
Use the right variable when writing out the logfile_rotate directive. Small version bump.
Diffstat (limited to 'config/squid')
-rw-r--r--config/squid/squid.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/squid/squid.inc b/config/squid/squid.inc
index cd05151a..ba0943f7 100644
--- a/config/squid/squid.inc
+++ b/config/squid/squid.inc
@@ -660,7 +660,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