1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

mtr complains about klist is not found, if Kerberos is not installed on machines

This commit is contained in:
Vladislav Vaintroub
2016-03-17 17:58:40 +01:00
parent 9b53d84d14
commit d1e6c40294

View File

@@ -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);