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:
parent
dfa7f7e139
commit
6ef1b05339
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user