Browse Source

Don't warn about "Found non pid file" for elements that are not files.

pull/73/head
msvensson@neptunus.(none) 19 years ago
parent
commit
570f603988
  1. 4
      mysql-test/lib/mtr_process.pl

4
mysql-test/lib/mtr_process.pl

@ -441,7 +441,6 @@ sub mtr_kill_leftovers () {
# Only read pid from files that end with .pid
if ( $elem =~ /.*[.]pid$/)
{
my $pidfile= "$rundir/$elem";
if ( -f $pidfile )
@ -465,7 +464,8 @@ sub mtr_kill_leftovers () {
}
else
{
mtr_warning("Found non pid file $elem in $rundir");
mtr_warning("Found non pid file $elem in $rundir")
if -f "$rundir/$elem";
next;
}
}

Loading…
Cancel
Save