Code

processes plugin: Don't *abort* if a line has more than two fields.
authorFlorian Forster <octo@huhu.verplant.org>
Fri, 2 Oct 2009 07:40:49 +0000 (09:40 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Fri, 2 Oct 2009 07:40:49 +0000 (09:40 +0200)
src/processes.c

index c96e9110b95a9b804001490bffc7a8dda0581a05..8b937968e2d834f5cbacfab049e9c35b428ef83e 100644 (file)
@@ -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;