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

"Didier 'OdyX' Raboud" <[email protected]>
Newsgroups gmane.linux.debian.devel.lsb
Organization Debian, the Universal OS
Message-ID <4F8BEA20.3080800__10454.4565234848$1334569745$gmane$org@debian.org>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.