mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
mtr_process.pl:
Bug#12094: Let sleep_until_file_created() return the pid as intended
This commit is contained in:
parent
6ffe45c54e
commit
9457373c5f
1 changed files with 2 additions and 1 deletions
|
@ -752,6 +752,7 @@ sub mtr_ping_mysqld_server () {
|
|||
#
|
||||
##############################################################################
|
||||
|
||||
# FIXME check that the pidfile contains the expected pid!
|
||||
|
||||
sub sleep_until_file_created ($$$) {
|
||||
my $pidfile= shift;
|
||||
|
@ -762,7 +763,7 @@ sub sleep_until_file_created ($$$) {
|
|||
{
|
||||
if ( -r $pidfile )
|
||||
{
|
||||
return 1;
|
||||
return $pid;
|
||||
}
|
||||
|
||||
# Check if it died after the fork() was successful
|
||||
|
|
Loading…
Add table
Reference in a new issue