On 3/13/07, Matthew Burgess <[EMAIL PROTECTED]> wrote:
> On Monday 12 March 2007 19:56, Dan Nicholson wrote:
> > The bootscript function pidofproc is broken when passing a specific
> > pidfile with -p. The problem is that there's an integer expression
> > using -ge, but the tested argument may be null.
>
> The patch looks sane to me, Dan.  Of course, it loses the fact that we're
> really testing an integer, but I can't see any other way around that.  Feel
> free to commit it when you've got the time.

If $silent is initialized to 0, it could work. But really, it's more
of a boolean type. This is the only place in the functions that
$silent is used. It could just as easily toggle on y/n when parsing -s
from the options.

I'm gonna go ahead and commit this.

--
Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to