From 7bfe60dd9e5670bb8bbc403784c69b1dcce8e923 Mon Sep 17 00:00:00 2001 From: jim-p Date: Fri, 30 Dec 2011 09:21:41 -0500 Subject: Use the right variable when writing out the logfile_rotate directive. Small version bump. --- config/squid/squid.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/squid') 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 .= <<