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 #8006
This commit is contained in:
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())
|
||||
|
Loading…
x
Reference in New Issue
Block a user