sh (pid 1081) segfaults for page address 00000000 at pc 00000000

Cathey, Jim jcathey at ciena.com
Mon Jan 26 17:27:47 UTC 2009


So you're looking at the string output of pidof?
If proc's not there, I don't think that:

	if [ "" ]

is highly meaningful.  (Hence the -z suggestion?)
When I use pidof to probe for a process, I use
its exit status:

	if pidof <foo> >/dev/null

-- Jim






More information about the busybox mailing list