Same problem here; I believe it is caused by /etc/init.d/portmap line
33:

pid=$( pidofproc portmap )
if [ -n "$pid" ] ; then ...

pidofproc then calls "/bin/pidof -o %PPID -x $1", but since it was run
from a subshell, PPID does not refer to the "portmap" script and it is
not excluded. I worked around by changing the lines in question to

if pidofproc portmap >/dev/null ; then ...

as it seems to be done elsewhere.

--Jacob



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to