diff options
Diffstat (limited to 'plugins/check_procs.c')
-rw-r--r-- | plugins/check_procs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_procs.c b/plugins/check_procs.c index 2e28328..f5dc45d 100644 --- a/plugins/check_procs.c +++ b/plugins/check_procs.c | |||
@@ -185,7 +185,7 @@ main (int argc, char **argv) | |||
185 | cols = sscanf (input_line, PS_FORMAT, PS_VARLIST); | 185 | cols = sscanf (input_line, PS_FORMAT, PS_VARLIST); |
186 | 186 | ||
187 | /* Zombie processes do not give a procprog command */ | 187 | /* Zombie processes do not give a procprog command */ |
188 | if ( cols == (expected_cols - 1) && strstr(procstat, zombie) ) { | 188 | if ( cols < expected_cols && strstr(procstat, zombie) ) { |
189 | cols = expected_cols; | 189 | cols = expected_cols; |
190 | } | 190 | } |
191 | if ( cols >= expected_cols ) { | 191 | if ( cols >= expected_cols ) { |