1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 08:26:52 +03:00

main: parse the whole arv[] as kernel command line

This commit is contained in:
Lennart Poettering 2011-03-16 02:56:30 +01:00
parent dfa7f7e139
commit 6ef1b05339

View 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;
}