Fixes: bash -c 'parallel -a <(seq 1 3) echo'

This commit is contained in:
Ole Tange 2010-06-25 23:12:28 +02:00
parent a0f4c5e4d9
commit d32787376a

View file

@ -3141,6 +3141,8 @@ sub Reaper {
# This is one of the ssh -M: ignore
next;
}
# Ignore processes that we did not start
$Global::running{$stiff} or next;
$Global::running{$stiff}{'exitstatus'} = $? >> 8;
debug("died ($Global::running{$stiff}{'exitstatus'}): $Global::running{$stiff}{'seq'}");
# Force printing now if the job failed and we are going to exit