]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
Strip out , when parsing console
authorRay Strode <rstrode@redhat.com>
Fri, 5 Sep 2008 18:31:08 +0000 (14:31 -0400)
committerRay Strode <rstrode@redhat.com>
Fri, 5 Sep 2008 18:31:08 +0000 (14:31 -0400)
Options can be passed to the console, we should
ignore them when opening the console.

src/main.c

index a9a5dfe277e23bee15232307ee4f8a34340c0d04..21bfae261aa78baf21a6bb10db5b234817d182cd 100644 (file)
@@ -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';