From d1e6c40294446ebf2cb34233fa934640a1f4da4c Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Thu, 17 Mar 2016 17:58:40 +0100 Subject: [PATCH] mtr complains about klist is not found, if Kerberos is not installed on machines --- plugin/auth_gssapi/mysql-test/auth_gssapi/suite.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/auth_gssapi/mysql-test/auth_gssapi/suite.pm b/plugin/auth_gssapi/mysql-test/auth_gssapi/suite.pm index 50137ca0211..aa225536a1e 100644 --- a/plugin/auth_gssapi/mysql-test/auth_gssapi/suite.pm +++ b/plugin/auth_gssapi/mysql-test/auth_gssapi/suite.pm @@ -19,7 +19,7 @@ else { if (!$ENV{'GSSAPI_FULLNAME'}) { - my $s = `klist |grep 'Default principal: '`; + my $s = `klist 2>/dev/null |grep 'Default principal: '`; if ($s) { chomp($s);