Improve error message that describes waitpid($pid) returned unexpected result
This commit is contained in:
parent
4693771f28
commit
e7cd916e08
@ -220,7 +220,8 @@ sub spawn_parent_impl {
|
||||
my $ret_pid= waitpid($pid,0);
|
||||
if ( $ret_pid != $pid )
|
||||
{
|
||||
mtr_error("$path ($pid) got lost somehow");
|
||||
mtr_error("waitpid($pid, 0) returned $ret_pid " .
|
||||
"when waiting for '$path'");
|
||||
}
|
||||
|
||||
return mtr_process_exit_status($?);
|
||||
|
Loading…
x
Reference in New Issue
Block a user