]> err.no Git - systemd/commitdiff
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 0c805c98a9f89fe010fe837a47ef72f33412af00..5b75ecca8e83383bc86e08c2d034fd12200acb23 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;
                 }