[Sheepdog] [PATCH] logger: correct crash_handler output

Liu Yuan namei.unix at gmail.com
Sat Apr 28 15:59:42 CEST 2012


On 04/28/2012 09:54 PM, Christoph Hellwig wrote:

> We'd still like to print the pid of the died sheep pid - getppid()
> should do that work for that.


Yes, I tried use getppid() initially, but I found that getppid() always
return 1 in my distro (ubuntu) and I didn't try to trace why. So I
simply remove pid, given that some bug in other place or my dirstro goes
ill-configured.

Maybe I'd better call getppid() here and wait fixes from other place.

Thanks,
Yuan



More information about the sheepdog mailing list