]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
[daemon] fix detection of single on kernel cmdline
authorFrederic Crozat <fcrozat@mandriva.com>
Thu, 10 Sep 2009 16:34:32 +0000 (18:34 +0200)
committerFrederic Crozat <fcrozat@mandriva.com>
Thu, 10 Sep 2009 17:06:24 +0000 (19:06 +0200)
src/main.c

index fdf44a94a643673275228002ff454cadcfc091a1..00a6f24b46b5b07654c5471cec4e95deee637c67 100644 (file)
@@ -514,11 +514,11 @@ plymouth_should_show_default_splash (state_t *state)
   ply_trace ("checking if plymouth should show default splash");
 
   const char const *strings[] = {
-      " single ", " single", "^single ",
-      " 1 ", " 1", "^1 ",
-      " s ", " s", "^s ",
-      " S ", " S", "^S ",
-      " -s ", " -s", "^-s ",
+      " single ", " single\n", "^single ",
+      " 1 ", " 1\n", "^1 ",
+      " s ", " s\n", "^s ",
+      " S ", " S\n", "^S ",
+      " -s ", " -s\n", "^-s ",
       NULL
   };
   int i;