mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Improve error message that describes waitpid($pid) returned unexpected result
This commit is contained in:
@@ -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($?);
|
||||
|
||||
Reference in New Issue
Block a user