From a23da0622c9abf088428309e3f1b83e9b1b02d2e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 7 Apr 2010 03:17:47 +0200 Subject: [PATCH] main: don't verify that we have no trailing args since the kernel sometimes passes us some --- main.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/main.c b/main.c index fb5ba6ae..15ed0f1e 100644 --- a/main.c +++ b/main.c @@ -212,11 +212,6 @@ static int parse_argv(int argc, char *argv[]) { return -EINVAL; } - if (optind < argc) { - log_error("Too many arguments."); - return -EINVAL; - } - return 0; } -- 2.39.5