mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-05-21 01:45:14 -04:00
check_load: allow execution without parameters
This commit is contained in:
parent
8747c5ef8a
commit
105cc841df
1 changed files with 0 additions and 5 deletions
|
|
@ -287,11 +287,6 @@ static check_load_config_wrapper process_arguments(int argc, char **argv) {
|
|||
.config = check_load_config_init(),
|
||||
};
|
||||
|
||||
if (argc < 2) {
|
||||
result.errorcode = ERROR;
|
||||
return result;
|
||||
}
|
||||
|
||||
while (true) {
|
||||
int option = 0;
|
||||
int option_index = getopt_long(argc, argv, "Vhrc:w:n:", longopts, &option);
|
||||
|
|
|
|||
Loading…
Reference in a new issue