diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2016-03-17 17:58:40 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2016-03-17 17:58:40 +0100 |
commit | d1e6c40294446ebf2cb34233fa934640a1f4da4c (patch) | |
tree | 3328c4c69dc8c948bbbce9dea10735df9901ba7f /plugin/auth_gssapi | |
parent | 9b53d84d14a9b031d193f6beae382a232aa738e3 (diff) | |
download | mariadb-git-d1e6c40294446ebf2cb34233fa934640a1f4da4c.tar.gz |
mtr complains about klist is not found, if Kerberos is not installed on machines
Diffstat (limited to 'plugin/auth_gssapi')
-rw-r--r-- | plugin/auth_gssapi/mysql-test/auth_gssapi/suite.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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); |