On Sun, Aug 07, 2005 at 11:05:01PM -0500, DJ Lucas wrote: > > Anyway, there is definately a bug if it's returning the PID of the > running script, but there is also a problem in your script as you should > be passing the full path of the binary to statusproc; Well, unless that > is a symlink in which case pidof will find the PIDs of the target.
This is even in the case of the script calling the full path daemon. -- Archaic Want control, education, and security from your operating system? Hardened Linux From Scratch http://www.linuxfromscratch.org/hlfs -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page