plymouth-set-default-theme return code

Jerome Martin jxm at risingtidesystems.com
Wed Sep 29 07:47:39 PDT 2010


Hello,

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

root at rtsbuild:/# plymouth-set-default-theme rtslive; echo $?
1
root at 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.html>


More information about the plymouth mailing list