aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid3/34/squid.inc
diff options
context:
space:
mode:
Diffstat (limited to 'config/squid3/34/squid.inc')
-rwxr-xr-xconfig/squid3/34/squid.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/squid3/34/squid.inc b/config/squid3/34/squid.inc
index 25d85361..104c96cc 100755
--- a/config/squid3/34/squid.inc
+++ b/config/squid3/34/squid.inc
@@ -84,6 +84,9 @@ function squid_get_real_interface_address($iface) {
}
function squid_chown_recursive($dir, $user, $group) {
+ if ($dir == '/usr/local')
+ return;
+
chown($dir, $user);
chgrp($dir, $group);
$handle = opendir($dir) ;