aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 de16756b..3ef5e270 100755
--- a/config/squid3/34/squid.inc
+++ b/config/squid3/34/squid.inc
@@ -103,6 +103,9 @@ function squid_chown_recursive($dir, $user, $group) {
}
function squid_check_clamav_user($user) {
+ if (SQUID_BASE == '/usr/local')
+ return;
+
$_gc = exec("/usr/sbin/pw usershow {$user}",$sq_ex_output,$sq_ex_return);
$user_arg=($sq_ex_return == 0?"mod":"add");
$_gc = exec("/usr/sbin/pw user{$user_arg} {$user} -G wheel -u 9595 -s /sbin/nologin",$sq_ex_output,$sq_ex_return);