diff options
| author | Mathieu Gagné <mgagne@users.noreply.github.com> | 2026-02-19 09:04:28 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-19 15:04:28 +0100 |
| commit | a793000948039afa1af9792dd776e2f9cda5b538 (patch) | |
| tree | 4ae35ad252d8159720c2858a118f6822aa7baf9a | |
| parent | 15b9a39b6085f9382e1907ef769a50aee716e839 (diff) | |
| download | monitoring-plugins-a793000948039afa1af9792dd776e2f9cda5b538.tar.gz | |
The "T" argument of check_procs is only a switch, but did expect an argument. This changes fixes that.
| -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 ae6e9c23..50837cb4 100644 --- a/plugins/check_procs.c +++ b/plugins/check_procs.c | |||
| @@ -430,7 +430,7 @@ check_procs_config_wrapper process_arguments(int argc, char **argv) { | |||
| 430 | while (true) { | 430 | while (true) { |
| 431 | int option = 0; | 431 | int option = 0; |
| 432 | int option_index = | 432 | int option_index = |
| 433 | getopt_long(argc, argv, "Vvhkt:c:w:p:s:u:C:a:z:r:m:P:T:X:", longopts, &option); | 433 | getopt_long(argc, argv, "Vvhkt:c:w:p:s:u:C:a:z:r:m:P:TX:", longopts, &option); |
| 434 | 434 | ||
| 435 | if (option_index == -1 || option_index == EOF) { | 435 | if (option_index == -1 || option_index == EOF) { |
| 436 | break; | 436 | break; |
