[PATCH] pidofproc broken when passing a pid file
matthew at linuxfromscratch.org
Tue Mar 13 11:51:29 PDT 2007
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.
More information about the lfs-dev