killproc arguments

DJ Lucas dj at linuxfromscratch.org
Sun Jul 25 17:05:20 PDT 2004


Kevin P. Fleming wrote:

> 
> Any reason not to use:
> 
> if [ -z "$PIDFILE" -o -z "$#" ]
> 
> Using || here will probably work, but it's using an arithmetic operator 
> where a logical operator makes more sense.

First idea that poped into my head....didn't take the time to do it 
right, just wanted to get something to look at.  But now I have the 
time.  Also, the above makes reloadproc's arguments inconsistant.  It'd 
still work as is, just not the same.  I'll actually test before next 
suggestion. :-)

Thanks Kevin.

-- DJ Lucas



More information about the lfs-dev mailing list