mirror of https://github.com/Icinga/icinga2.git
Fixed truncated plugin output.
This commit is contained in:
parent
67789d99ce
commit
8eac0a91c2
|
@ -167,7 +167,7 @@ void NagiosCheckTask::ProcessCheckOutput(const string& output)
|
|||
text.append("\n");
|
||||
|
||||
if (delim != string::npos) {
|
||||
text.append(line, 0, delim - 1);
|
||||
text.append(line, 0, delim);
|
||||
|
||||
if (!perfdata.empty())
|
||||
perfdata.append(" ");
|
||||
|
|
Loading…
Reference in New Issue