mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-21 12:44:58 +02:00
parent
1fb378ef4a
commit
eab2fb79ad
@ -1435,6 +1435,9 @@ static String UnameHelper(char type)
|
||||
|
||||
FILE *fp = popen(cmd, "r");
|
||||
|
||||
if (!fp)
|
||||
return "Unknown";
|
||||
|
||||
char line[1024];
|
||||
std::ostringstream msgbuf;
|
||||
|
||||
@ -1892,4 +1895,4 @@ String Utility::GetIcingaDataPath(void)
|
||||
return String(path) + "\\icinga2";
|
||||
}
|
||||
|
||||
#endif /* _WIN32 */
|
||||
#endif /* _WIN32 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user