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