summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_procs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_procs.c b/plugins/check_procs.c
index 7f35370..3d0f844 100644
--- a/plugins/check_procs.c
+++ b/plugins/check_procs.c
@@ -354,7 +354,7 @@ main (int argc, char **argv)
354 } 354 }
355 355
356 if (number_threshold != NULL) { 356 if (number_threshold != NULL) {
357 if (i = get_status( procs, number_threshold ) != STATE_OK) { 357 if ((i = get_status( procs, number_threshold )) != STATE_OK) {
358 actions_on_failed_state(i, "NUMBER_OF_PROCESSES"); 358 actions_on_failed_state(i, "NUMBER_OF_PROCESSES");
359 if (verbose >= 2) { 359 if (verbose >= 2) {
360 printf("NUMBER: total_procs=%d ", procs); 360 printf("NUMBER: total_procs=%d ", procs);