On Sat, Feb 18, 2006 at 02:47:33PM +1300, Matt Brown wrote:
> I did however discover one minor bug that occurred when the stop target
> of the init script was run twice in a row and resulted in some ugly
> error output from trying to read the non-existant pidfile. The
> functionality was still correct, but it didn't look nice. 

Should the check

     [ ! -f "$PIDFILE" ] && return 1

cover that? I don't see why that should fail, if the PIDFILE does not exist
it should not go ahead and try to read from it.

Regards

Javier

Attachment: signature.asc
Description: Digital signature

Reply via email to