mirror of https://github.com/Icinga/icinga2.git
parent
f2e6694179
commit
7f8a921f53
|
@ -1435,6 +1435,9 @@ static String UnameHelper(char type)
|
||||||
|
|
||||||
FILE *fp = popen(cmd, "r");
|
FILE *fp = popen(cmd, "r");
|
||||||
|
|
||||||
|
if (!fp)
|
||||||
|
return "Unknown";
|
||||||
|
|
||||||
char line[1024];
|
char line[1024];
|
||||||
std::ostringstream msgbuf;
|
std::ostringstream msgbuf;
|
||||||
|
|
||||||
|
@ -1892,4 +1895,4 @@ String Utility::GetIcingaDataPath(void)
|
||||||
return String(path) + "\\icinga2";
|
return String(path) + "\\icinga2";
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* _WIN32 */
|
#endif /* _WIN32 */
|
||||||
|
|
Loading…
Reference in New Issue