Skip to content

Commit d1e6c40

Browse files
committed
mtr complains about klist is not found, if Kerberos is not installed on machines
1 parent 9b53d84 commit d1e6c40

File tree

1 file changed

+1
-1
lines changed
  • plugin/auth_gssapi/mysql-test/auth_gssapi

1 file changed

+1
-1
lines changed

plugin/auth_gssapi/mysql-test/auth_gssapi/suite.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ else
1919
{
2020
if (!$ENV{'GSSAPI_FULLNAME'})
2121
{
22-
my $s = `klist |grep 'Default principal: '`;
22+
my $s = `klist 2>/dev/null |grep 'Default principal: '`;
2323
if ($s)
2424
{
2525
chomp($s);

0 commit comments

Comments
 (0)