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 c96e911..8b93796 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;