diff options
author | unknown <msvensson@neptunus.(none)> | 2006-11-03 15:26:42 +0100 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2006-11-03 15:26:42 +0100 |
commit | 16a671c0213ed17975ce1f87e589308217a142a8 (patch) | |
tree | e663155af19f8fb0d1019a48d30dfd47c2ec65bf /mysql-test/lib/mtr_process.pl | |
parent | 65e3646258bb2700d1c0e70af343a9c8c5c160be (diff) | |
download | mariadb-git-16a671c0213ed17975ce1f87e589308217a142a8.tar.gz |
Don't warn about "Found non pid file" for elements that are not files.
Diffstat (limited to 'mysql-test/lib/mtr_process.pl')
-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; } } |