From: Florian Forster Date: Fri, 2 Oct 2009 07:40:49 +0000 (+0200) Subject: processes plugin: Don't *abort* if a line has more than two fields. X-Git-Tag: collectd-4.9.0~63 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=051f794c1647dadee44a3d345c5a6e178bbca5a9;p=collectd.git processes plugin: Don't *abort* if a line has more than two fields. --- diff --git a/src/processes.c b/src/processes.c index c96e9110..8b937968 100644 --- a/src/processes.c +++ b/src/processes.c @@ -864,7 +864,7 @@ static unsigned long read_fork_rate () if (numfields != 2) { ERROR ("processes plugin: processes in /proc/stat " "contains more than 2 fields."); - break; + continue; } if (strcmp ("processes", fields[0]) != 0) continue;