From: preed%sigkill.com <> Date: Mon, 27 May 2002 07:43:49 +0000 (+0000) Subject: Backported patch for bug 92263; patch applies cleanly to the 2_14_1-BRANCH, so backpo... X-Git-Tag: bugzilla-2.14.2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b26ca71ff847e30f5bbd7a8e8deb0504a5d0dfd;p=thirdparty%2Fbugzilla.git Backported patch for bug 92263; patch applies cleanly to the 2_14_1-BRANCH, so backport/r/r2=preed --- diff --git a/globals.pl b/globals.pl index 3675a60435..cf273e8247 100644 --- a/globals.pl +++ b/globals.pl @@ -141,6 +141,9 @@ sub SyncAnyPendingShadowChanges { return; } elsif (defined $pid) { # child process code runs here + my $redir = ($^O =~ /MSWin32/i) ? "NUL" : "/dev/null"; + open STDOUT,">$redir"; + open STDERR,">$redir"; exec("./syncshadowdb","--") or die "Unable to exec syncshadowdb: $!"; # the idea was that passing the second parameter tricks it into # using execvp instead of running a shell. Not really necessary since