1
0
mirror of https://github.com/Icinga/icinga2.git synced 2025-04-07 20:25:08 +02:00

PluginUtility::ParseCheckOutput(): if it doesn't look like perfdata, it's not perfdata

refs 
This commit is contained in:
Alexander A. Klimov 2020-05-14 10:53:13 +02:00
parent d5d89b7f39
commit 127961b727

@ -109,7 +109,7 @@ std::pair<String, String> PluginUtility::ParseCheckOutput(const String& output)
if (!text.IsEmpty())
text += "\n";
if (delim != String::NPos) {
if (delim != String::NPos && line.FindFirstOf("=", delim) != String::NPos) {
text += line.SubStr(0, delim);
if (!perfdata.IsEmpty())