1
0
forked from rpms/plymouth
plymouth/fix-harmless-spew.patch
Ray Strode 506917cf99 - Update to version 0.4.0
- Only run if rhgb is on kernel command line
- Make text plugin more animated
2008-06-22 05:29:51 +00:00

26 lines
720 B
Diff

commit cc0fc4e577e4f397e7115eabfa74ce2f2629f29c
Author: Ray Strode <rstrode@redhat.com>
Date: Sun Jun 22 01:19:18 2008 -0400
/Really/ exit cleanly if rhgb isn't present on kernel cmdline
Unlike b7f4399294fad3d70029526cd7334c50d8673214 which was
broken
diff --git a/src/main.c b/src/main.c
index f554ce0..e855f68 100644
--- a/src/main.c
+++ b/src/main.c
@@ -454,7 +454,10 @@ main (int argc,
if (!initialize_environment (&state))
{
if (errno == 0)
- return 0;
+ {
+ ply_detach_daemon (daemon_handle, 0);
+ return 0;
+ }
ply_error ("could not setup basic operating environment: %m");
ply_detach_daemon (daemon_handle, EX_OSERR);