From: Ronnie Sahlberg Date: Mon, 27 Aug 2007 07:33:46 +0000 (+1000) Subject: add an extra debug statement when we send a SIGTERM to a process X-Git-Tag: tevent-0.9.20~348^2~2435^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=794fb10634d92e318dffdb0cd5dacd489c64469a;p=thirdparty%2Fsamba.git add an extra debug statement when we send a SIGTERM to a process (This used to be ctdb commit a9c1be9cf9efdc69bfc95657b70e9f8b8230cda8) --- diff --git a/ctdb/server/eventscript.c b/ctdb/server/eventscript.c index afb86d742d2..c7339a355a6 100644 --- a/ctdb/server/eventscript.c +++ b/ctdb/server/eventscript.c @@ -234,6 +234,7 @@ static void ctdb_event_script_timeout(struct event_context *ev, struct timed_eve */ static int event_script_destructor(struct ctdb_event_script_state *state) { + DEBUG(0,(__location__ " Sending SIGTERM to child pid:%d\n", state->child)); kill(state->child, SIGTERM); waitpid(state->child, NULL, 0); return 0;