From 051f794c1647dadee44a3d345c5a6e178bbca5a9 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Fri, 2 Oct 2009 09:40:49 +0200 Subject: [PATCH] processes plugin: Don't *abort* if a line has more than two fields. --- src/processes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2