chiark / gitweb /
main: parse the whole arv[] as kernel command line
authorLennart Poettering <lennart@poettering.net>
Wed, 16 Mar 2011 01:56:30 +0000 (02:56 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 16 Mar 2011 01:56:30 +0000 (02:56 +0100)
src/main.c

index 0c805c9..5b75ecc 100644 (file)
@@ -848,7 +848,7 @@ static int parse_argv(int argc, char *argv[]) {
                          * relevant for us, hence we rely on argv[]
                          * instead. */
 
-                        for (a = argv + optind; a < argv + argc; a++)
+                        for (a = argv; a < argv + argc; a++)
                                 if ((r = parse_proc_cmdline_word(*a)) < 0)
                                         return r;
                 }