[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#668958: lsb-base: pidofproc doesn't return correct status for daemons without pidfile



On 16/04/12 11:23, Didier 'OdyX' Raboud wrote:

[...]

This patch (besides being reversed) makes all "pidofproc with
unspecified pidfile name" calls call /bin/pidof, which is undesired IMHO.

I propose the attached patch, that only resorts to calling /bin/pidof
when the pidfile is provably inexistant and when it wasn't specified at
first.

Can you please test it and report back?

You're rigth. Your patch is better. I tested it and works fine.

Cheers, OdyX

Thanks.
--
Fita Adrian



Reply to: