Strip out , when parsing console

Options can be passed to the console, we should
ignore them when opening the console.
calculate-0.9.5
Ray Strode 16 years ago
parent a07d23afd4
commit d12ae10a70

@ -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…
Cancel
Save