From 105cc841dfc20fc8b99fc2d3fc4185ca3a53a370 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20K=C3=A4stle?= Date: Mon, 18 May 2026 11:13:21 +0200 Subject: [PATCH] check_load: allow execution without parameters --- plugins/check_load.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/plugins/check_load.c b/plugins/check_load.c index de13f7b8..7995408e 100644 --- a/plugins/check_load.c +++ b/plugins/check_load.c @@ -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);