mirror of
https://github.com/MariaDB/server.git
synced 2026-05-05 14:45:31 +02:00
WL#41890 After review fixes, remove unecessary if's
This commit is contained in:
parent
1d2d59aeb9
commit
9ffab58506
1 changed files with 1 additions and 8 deletions
|
|
@ -501,13 +501,6 @@ sub wait_any {
|
|||
last if $pid == $ret_pid;
|
||||
}
|
||||
} while ($ret_pid == 0);
|
||||
|
||||
# Special processig of return code
|
||||
# since negative pids are valid
|
||||
if ($ret_pid == 0 or $ret_pid == -1) {
|
||||
print STDERR "wait_any, got invalid pid: $ret_pid\n";
|
||||
return undef;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -522,7 +515,7 @@ sub wait_any {
|
|||
# Look it up in "running" table
|
||||
my $proc= $running{$ret_pid};
|
||||
unless (defined $proc){
|
||||
print STDERR "Could not find pid in running list\n";
|
||||
print STDERR "Could not find pid: $ret_pid in running list\n";
|
||||
print STDERR "running: ". join(", ", keys(%running)). "\n";
|
||||
return undef;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue