From c3ee87e2ac7bce77e805815bcfc31f7010a86086 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 20 Oct 2007 17:18:19 -0400 Subject: [PATCH] reorder to avoid race --- mr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5