DJ Lucas wrote:
Never mind.  $$ is not actually incrementing, but I don't know what
processes pidof is finding when running that script.  Creating a second
functions script with only statusproc and getpids using the same 'pidof
-o $$ -o $PPID -x "${1}"' gives the proper result.  It looks as if pidof
it's finding it's own PID but that can't be either because it does not
find itself in the second example.  I'm at a loss.  Will revisit after
some sleep.

Is that because of "stty sane" at the bottom of the "functions" file?

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

Reply via email to