From: Ray Strode Date: Wed, 9 Feb 2011 19:47:54 +0000 (-0500) Subject: main: make duplicate plymouthd's a silent error X-Git-Tag: 0.8.4~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34178f4e30d4210c914fb6797ce4985e26ad736b;p=thirdparty%2Fplymouth.git main: make duplicate plymouthd's a silent error --- diff --git a/src/main.c b/src/main.c index 032a3faa..e15c3776 100644 --- a/src/main.c +++ b/src/main.c @@ -2129,7 +2129,7 @@ main (int argc, state.should_be_attached = attach_to_session; if (!attach_to_running_session (&state)) { - ply_error ("plymouthd: could not redirect console session: %m"); + ply_trace ("could not redirect console session: %m"); if (! no_daemon) ply_detach_daemon (daemon_handle, EX_UNAVAILABLE); return EX_UNAVAILABLE; @@ -2140,7 +2140,8 @@ main (int argc, if (state.boot_server == NULL) { - ply_error ("plymouthd: could not log bootup: %m"); + ply_trace ("could not log bootup: %m"); + if (daemon_handle != NULL) ply_detach_daemon (daemon_handle, EX_UNAVAILABLE); return EX_UNAVAILABLE;