Bug#668958: lsb-base: pidofproc doesn't return correct status for daemons without pidfile
tags 668958 +pending
thanks
Le 16.04.2012 11:07, Adrian Fita a écrit :
>> 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.
Great. Committed to master, hence +pending. (Will be pushed later).
Thanks for your promptness!
Cheers, OdyX
Reply to: