diff options
Diffstat (limited to 'plugins/check_cluster.c')
| -rw-r--r-- | plugins/check_cluster.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_cluster.c b/plugins/check_cluster.c index 1cbdcd60..92c3827a 100644 --- a/plugins/check_cluster.c +++ b/plugins/check_cluster.c | |||
| @@ -175,7 +175,7 @@ check_cluster_config_wrapper process_arguments(int argc, char **argv) { | |||
| 175 | while (true) { | 175 | while (true) { |
| 176 | int option_index = getopt_long(argc, argv, "hHsvVw:c:d:l:", longopts, &option); | 176 | int option_index = getopt_long(argc, argv, "hHsvVw:c:d:l:", longopts, &option); |
| 177 | 177 | ||
| 178 | if (option_index == -1 || option_index == EOF || option_index == 1) { | 178 | if (CHECK_EOF(option_index) || option_index == 1) { |
| 179 | break; | 179 | break; |
| 180 | } | 180 | } |
| 181 | 181 | ||
