summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_procs.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/check_procs.c b/plugins/check_procs.c
index 2cf550cc..3671559b 100644
--- a/plugins/check_procs.c
+++ b/plugins/check_procs.c
@@ -202,9 +202,8 @@ main (int argc, char **argv)
202 cols = sscanf (input_buffer, PS_FORMAT, PS_VARLIST); 202 cols = sscanf (input_buffer, PS_FORMAT, PS_VARLIST);
203 203
204 /* Zombie processes do not give a procprog command */ 204 /* Zombie processes do not give a procprog command */
205 /* - would they give other columns? */ 205 if ( cols == 6 && strstr(procstat, zombie) ) {
206 if ( cols == 3 && strstr(procstat, zombie) ) { 206 cols = 7;
207 cols = 4;
208 } 207 }
209 if ( cols >= 7 ) { 208 if ( cols >= 7 ) {
210 found++; 209 found++;