mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 20:38:11 +02:00
main: make duplicate plymouthd's a silent error
This commit is contained in:
parent
fc131db314
commit
34178f4e30
1 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue