diff options
author | msvensson@neptunus.(none) <> | 2006-11-03 15:26:42 +0100 |
---|---|---|
committer | msvensson@neptunus.(none) <> | 2006-11-03 15:26:42 +0100 |
commit | 570f603988f932597e3258a42e4b5cc2b208abd1 (patch) | |
tree | e663155af19f8fb0d1019a48d30dfd47c2ec65bf /mysql-test | |
parent | e235c8c421ebabc39009c08a637a0c3f3b3486c4 (diff) | |
download | mariadb-git-570f603988f932597e3258a42e4b5cc2b208abd1.tar.gz |
Don't warn about "Found non pid file" for elements that are not files.
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/lib/mtr_process.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/lib/mtr_process.pl b/mysql-test/lib/mtr_process.pl index 048c336f8a3..9d0c1f601ba 100644 --- a/mysql-test/lib/mtr_process.pl +++ b/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; } } |