diff options
Diffstat (limited to 'plugins/check_procs.c')
-rw-r--r-- | plugins/check_procs.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/check_procs.c b/plugins/check_procs.c index edb33aca..402daa53 100644 --- a/plugins/check_procs.c +++ b/plugins/check_procs.c | |||
@@ -155,10 +155,6 @@ main (int argc, char **argv) | |||
155 | /* Zombie processes do not give a procprog command */ | 155 | /* Zombie processes do not give a procprog command */ |
156 | if ( cols == (expected_cols - 1) && strstr(procstat, zombie) ) { | 156 | if ( cols == (expected_cols - 1) && strstr(procstat, zombie) ) { |
157 | cols = expected_cols; | 157 | cols = expected_cols; |
158 | /* Set some value for procargs for the strip command further below | ||
159 | Seen to be a problem on some Solaris 7 and 8 systems */ | ||
160 | input_buffer[pos] = '\n'; | ||
161 | input_buffer[pos+1] = 0x0; | ||
162 | } | 158 | } |
163 | if ( cols >= expected_cols ) { | 159 | if ( cols >= expected_cols ) { |
164 | resultsum = 0; | 160 | resultsum = 0; |