mirror of
https://github.com/Icinga/icinga2.git
synced 2025-09-21 16:57:58 +02:00
icinga2 --version: don't tell whether a Windows version is EOL
This commit is contained in:
parent
40619fb50b
commit
eeb972a3f0
@ -1444,7 +1444,7 @@ static bool ReleaseHelper(String *platformName, String *platformVersion)
|
||||
} else if (IsWindowsVersionOrGreater(6, 2, 0)) {
|
||||
*platformVersion = "Server 2012";
|
||||
} else {
|
||||
*platformVersion = "Server 2008 (EOL)";
|
||||
*platformVersion = "Server 2008";
|
||||
}
|
||||
|
||||
} else {
|
||||
@ -1455,11 +1455,11 @@ static bool ReleaseHelper(String *platformName, String *platformVersion)
|
||||
else if (IsWindows8OrGreater())
|
||||
*platformVersion = "8";
|
||||
else if (IsWindows7SP1OrGreater())
|
||||
*platformVersion = "7 SP1 (EOL)";
|
||||
*platformVersion = "7 SP1";
|
||||
else if (IsWindows7OrGreater())
|
||||
*platformVersion = "7 (EOL)";
|
||||
*platformVersion = "7";
|
||||
else
|
||||
*platformVersion = "Vista (EOL)";
|
||||
*platformVersion = "Vista";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user