aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid/squid.inc
diff options
context:
space:
mode:
Diffstat (limited to 'config/squid/squid.inc')
-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