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