mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-06 18:28:00 +02:00
Strip out , when parsing console
Options can be passed to the console, we should ignore them when opening the console.
This commit is contained in:
parent
a07d23afd4
commit
d12ae10a70
1 changed files with 1 additions and 1 deletions
|
|
@ -496,7 +496,7 @@ check_for_serial_console (state_t *state)
|
|||
free (state->console);
|
||||
state->console = strdup (console_key + strlen (" console="));
|
||||
|
||||
end = strpbrk (state->console, " \n\t\v");
|
||||
end = strpbrk (state->console, " \n\t\v,");
|
||||
|
||||
if (end != NULL)
|
||||
*end = '\0';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue