From: Lennart Poettering Date: Wed, 7 Apr 2010 01:17:47 +0000 (+0200) Subject: main: don't verify that we have no trailing args since the kernel sometimes passes... X-Git-Tag: v1~632 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=a23da0622c9abf088428309e3f1b83e9b1b02d2e main: don't verify that we have no trailing args since the kernel sometimes passes us some --- diff --git a/main.c b/main.c index fb5ba6aef..15ed0f1e2 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; }