X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Fbozo%2Fbnode.c;h=b401b46e7190343477d629c14c1804535cd56559;hp=b52f5667b4754a9da329f669ce64aa3cb1357bd8;hb=342ae52c816aeb087bd4d32424baa6cc60ee1166;hpb=3c72f0ab259c2e7bb7872d39ff0dc161611fadc6 diff --git a/src/bozo/bnode.c b/src/bozo/bnode.c index b52f566..b401b46 100644 --- a/src/bozo/bnode.c +++ b/src/bozo/bnode.c @@ -528,6 +528,12 @@ static int bproc() { RememberProcName(tp); tb->errorSignal = 0; } + if (tp->coreName) + bozo_Log("%s:%s exited with code %d", + tb->name, tp->coreName, tp->lastExit); + else + bozo_Log("%s exited with code %d", + tb->name, tp->lastExit); } else { /* Signal occurred, perhaps spurious due to shutdown request. @@ -542,6 +548,14 @@ static int bproc() { tb->lastErrorExit = FT_ApproxTime(); RememberProcName(tp); } + if (tp->coreName) + bozo_Log("%s:%s exited on signal %d%s", + tb->name, tp->coreName, tp->lastSignal, + WCOREDUMP(status) ? " (core dumped)" : ""); + else + bozo_Log("%s exited on signal %d%s", + tb->name, tp->lastSignal, + WCOREDUMP(status) ? " (core dumped)" : ""); SaveCore(tb, tp); } tb->lastAnyExit = FT_ApproxTime();