From: Lennart Poettering Date: Wed, 16 Mar 2011 01:56:30 +0000 (+0100) Subject: main: parse the whole arv[] as kernel command line X-Git-Tag: v21~72 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ef1b05339248b07270ac3d315458bc6c79a770d;p=systemd main: parse the whole arv[] as kernel command line --- diff --git a/src/main.c b/src/main.c index 0c805c98..5b75ecca 100644 --- a/src/main.c +++ b/src/main.c @@ -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; }