summaryrefslogtreecommitdiffstats
path: root/globals.pl
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2001-06-11 02:15:56 +0200
committerjustdave%syndicomm.com <>2001-06-11 02:15:56 +0200
commit808408770704c74994a322632c334d248dbc189b (patch)
tree9beffbdb9b23f42540ad370279b0454ef0d62c79 /globals.pl
parent0f520772563d9b1a599b7602f01ce88c365a9951 (diff)
downloadbugzilla-808408770704c74994a322632c334d248dbc189b.tar.gz
bugzilla-808408770704c74994a322632c334d248dbc189b.tar.xz
Re-fix for bug 21253: fix calling conventions for syncshadowdb so that a phony parameter to get past the multi-param system() test in tinderbox actually works.
r= tara
Diffstat (limited to 'globals.pl')
-rw-r--r--globals.pl9
1 files changed, 5 insertions, 4 deletions
diff --git a/globals.pl b/globals.pl
index 0f91aeb9e..2b3456959 100644
--- a/globals.pl
+++ b/globals.pl
@@ -117,10 +117,11 @@ sub SyncAnyPendingShadowChanges {
return;
} elsif (defined $pid) {
# child process code runs here
- exec("./syncshadowdb",[]) or die "Unable to exec syncshadowdb: $!";
- # passing the empty list as a second parameter tricks it into
- # using execvp instead of running a shell, but still doesn't
- # pass any parameters to syncshadowdb
+ 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
+ # there are no shell meta-characters, but it passes our tinderbox
+ # test that way. :) http://bugzilla.mozilla.org/show_bug.cgi?id=21253
} elsif ($! =~ /No more process/) {
# recoverable fork error, try again in 5 seconds
sleep 5;