Send plymouth mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.freedesktop.org/mailman/listinfo/plymouth
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of plymouth digest..."


Today's Topics:

   1. plymouth-set-default-theme return code (Jerome Martin)
   2. Re: plymouth-set-default-theme return code (Ray Strode)


----------------------------------------------------------------------

Message: 1
Date: Wed, 29 Sep 2010 16:47:39 +0200
From: Jerome Martin <[email protected]>
Subject: plymouth-set-default-theme return code
To: plymouth <[email protected]>
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

Hello,

I noticed that plymouth-set-default-theme returns 1 even if setting the
theme succeeded.

r...@rtsbuild:/# plymouth-set-default-theme rtslive; echo $?
1
r...@rtsbuild:/# plymouth-set-default-theme DOESNOTEXIST; echo $?
/usr/share/plymouth/themes/DOESNOTEXIST/DOESNOTEXIST.plymouth does not exist
1

When using this command in an automated script, one has to resort to some
tricks to make it work with set -e and still catch errors.

Best regards,
-- 
J?r?me Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.freedesktop.org/archives/plymouth/attachments/20100929/a0fcbecf/attachment.htm>

------------------------------

Message: 2
Date: Wed, 29 Sep 2010 13:27:49 -0400
From: Ray Strode <[email protected]>
Subject: Re: plymouth-set-default-theme return code
To: Jerome Martin <[email protected]>
Cc: plymouth <[email protected]>
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset=UTF-8

Hi,

On Wed, Sep 29, 2010 at 10:47 AM, Jerome Martin
<[email protected]> wrote:
> I noticed that?plymouth-set-default-theme returns 1 even if setting the
> theme succeeded.
> r...@rtsbuild:/# plymouth-set-default-theme rtslive; echo $?
> 1
> r...@rtsbuild:/# plymouth-set-default-theme DOESNOTEXIST; echo $?
> /usr/share/plymouth/themes/DOESNOTEXIST/DOESNOTEXIST.plymouth does not exist
> 1
Thanks, should be fixed in master.

--Ray


------------------------------

_______________________________________________
plymouth mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/plymouth


End of plymouth Digest, Vol 23, Issue 14
****************************************

Reply via email to