summaryrefslogtreecommitdiff
blob: cea038e3d397d1f2e25b0d4b179002c95ccd34ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- webalizer/webalizer-lib.pl.orig	2004-04-07 01:08:50.000000000 -0700
+++ webalizer/webalizer-lib.pl	2004-04-07 01:08:15.000000000 -0700
@@ -176,10 +176,11 @@
 	local $cmd = "$config{'webalizer'} $conf -o '$lconf->{'dir'}' $type -p '$a'";
 	if ($user ne "root") {
 		local $shell;
-		if ($config{'su_shell'}) {
-			$shell = " -s /bin/sh";
-			}
-		$cmd = "su ".quotemeta($user)." $shell -c ".quotemeta($cmd);
+# Gentoo borkage
+#		if ($config{'su_shell'}) {
+#			$shell = " -s /bin/sh";
+#			}
+		$cmd = "/bin/su ".quotemeta($user)." $shell -c ".quotemeta($cmd);
 		}
 	open(OUT, "$cmd 2>&1 |");
 	while(<OUT>) {