chiark / gitweb /
main: don't verify that we have no trailing args since the kernel sometimes passes...
authorLennart Poettering <lennart@poettering.net>
Wed, 7 Apr 2010 01:17:47 +0000 (03:17 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 7 Apr 2010 01:17:47 +0000 (03:17 +0200)
main.c

diff --git a/main.c b/main.c
index fb5ba6a..15ed0f1 100644 (file)
--- 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;
 }