]> git.ipfire.org Git - thirdparty/plymouth.git/commit
client: do not wait forever if daemon is not started
authorAndrey Borzenkov <arvidjaar@gmail.com>
Thu, 3 Mar 2011 01:51:32 +0000 (20:51 -0500)
committerRay Strode <rstrode@redhat.com>
Thu, 3 Mar 2011 01:51:32 +0000 (20:51 -0500)
commit32a214337b20a4417f5c5c0a28c208568dec567a
tree9d0160a1ca70212af3e161526e23bae9f33fe47f
parent502d5951aa5b8ece34fa21032d513254ef146f69
client: do not wait forever if daemon is not started

Currently plymouth --wait will wait forever if daemon is not
started. This does not look right - we were asked to wait for
daemon to stop and daemon is obviously stopped. So make it
exit right away in this case.

This avoids timeouts during systemd boot if plymouth happened to be
stopped (or never started) before plymouth-quit-wait had chance to
start.

Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
src/client/plymouth.c