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:
@@ -19,7 +19,7 @@ else
|
|||||||
{
|
{
|
||||||
if (!$ENV{'GSSAPI_FULLNAME'})
|
if (!$ENV{'GSSAPI_FULLNAME'})
|
||||||
{
|
{
|
||||||
my $s = `klist |grep 'Default principal: '`;
|
my $s = `klist 2>/dev/null |grep 'Default principal: '`;
|
||||||
if ($s)
|
if ($s)
|
||||||
{
|
{
|
||||||
chomp($s);
|
chomp($s);
|
||||||
|
Reference in New Issue
Block a user