diff options
Diffstat (limited to 'plugins/check_hpjd.c')
| -rw-r--r-- | plugins/check_hpjd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_hpjd.c b/plugins/check_hpjd.c index 9907abc5..883f1df0 100644 --- a/plugins/check_hpjd.c +++ b/plugins/check_hpjd.c | |||
| @@ -299,7 +299,7 @@ check_hpjd_config_wrapper process_arguments(int argc, char **argv) { | |||
| 299 | while (true) { | 299 | while (true) { |
| 300 | int option_index = getopt_long(argc, argv, "+hVH:C:p:D", longopts, &option); | 300 | int option_index = getopt_long(argc, argv, "+hVH:C:p:D", longopts, &option); |
| 301 | 301 | ||
| 302 | if (option_index == -1 || option_index == EOF || option_index == 1) { | 302 | if (CHECK_EOF(option_index) || option_index == 1) { |
| 303 | break; | 303 | break; |
| 304 | } | 304 | } |
| 305 | 305 | ||
