check_load: allow execution without parameters

This commit is contained in:
Lorenz Kästle 2026-05-18 11:13:21 +02:00
parent 8747c5ef8a
commit 105cc841df

View file

@ -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);