mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 21:55:03 +02:00
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");
|
text.append("\n");
|
||||||
|
|
||||||
if (delim != string::npos) {
|
if (delim != string::npos) {
|
||||||
text.append(line, 0, delim - 1);
|
text.append(line, 0, delim);
|
||||||
|
|
||||||
if (!perfdata.empty())
|
if (!perfdata.empty())
|
||||||
perfdata.append(" ");
|
perfdata.append(" ");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user