[PATCH] [main] Write the pid of plymouthd to a file

Scott James Remnant scott at ubuntu.com
Tue Mar 2 11:42:52 PST 2010


On Tue, 2010-03-02 at 14:20 -0500, Ray Strode wrote:

> > +static char *pid_file = NULL;
> This should probably go in the state_t structure with the other state.
> 
I thought that too and actually modified Alberto's patch to do that, but
then I realised that you don't have a pointed to that in on_crash() -
it'd mean leaving the pid file around in case of crash.

Which is better?

Scott
-- 
Scott James Remnant
scott at ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/plymouth/attachments/20100302/3308a1ea/attachment-0001.pgp>


More information about the plymouth mailing list