mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-10-18 08:24:06 +00:00
v-c: Re-enable https by default, make --version-check take an optional protocol argument
This commit is contained in:
@@ -127,6 +127,10 @@ sub get_os_version {
|
||||
|
||||
chomp(my $platform = `uname -s`);
|
||||
PTDEBUG && _d('platform:', $platform);
|
||||
if ( !$platform ) {
|
||||
return $OSNAME if $OSNAME ne 'MSWin32';
|
||||
return Win32::GetOSDisplayName();
|
||||
}
|
||||
return $OSNAME unless $platform;
|
||||
|
||||
chomp(my $lsb_release
|
||||
|
Reference in New Issue
Block a user