From: Joey Hess Date: Sat, 20 Oct 2007 21:18:19 +0000 (-0400) Subject: reorder to avoid race X-Git-Url: https://git.madduck.net/code/myrepos.git/commitdiff_plain/c3ee87e2ac7bce77e805815bcfc31f7010a86086?hp=791dd2c6b4bff3e46b8dd45bf1b6d0aa8d15b5bc reorder to avoid race --- diff --git a/mr b/mr index 2b1a36c..9a33d40 100755 --- a/mr +++ b/mr @@ -588,8 +588,8 @@ sub mrs { #{{{ $jobs{$pid}=$repo; push @fhs, $fh; push @out, ""; - reaper(); $SIG{CHLD}=\&reaper; + reaper(); } my ($rin, $rout) = ('','', ''); my $nfound;