[Ovirt-devel] [PATCH node 5/5] Check for plymouth running before trying to kill it
Joey Boggs
jboggs at redhat.com
Thu Feb 25 15:15:31 UTC 2010
On 02/24/2010 12:47 PM, Mike Burns wrote:
> Don't try to kill plymouth if it's already dead
>
> Signed-off-by: Mike Burns<mburns at redhat.com>
> ---
> scripts/ovirt-functions | 5 +++--
> 1 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/scripts/ovirt-functions b/scripts/ovirt-functions
> index 4027613..1db89ae 100644
> --- a/scripts/ovirt-functions
> +++ b/scripts/ovirt-functions
> @@ -382,8 +382,9 @@ unmount_logging() {
>
> log "Unmounting log partition"
> # plymouthd keeps /var/log/boot.log
> - plymouth --quit
> - plymouth --wait
> + if plymouth --ping ; then
> + plymouth --quit
> + fi
> unmount_logging_services
>
> umount /var/log
>
ACK
More information about the ovirt-devel
mailing list