]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
add an extra debug statement when we send a SIGTERM to a process
authorRonnie Sahlberg <sahlberg@ronnie>
Mon, 27 Aug 2007 07:33:46 +0000 (17:33 +1000)
committerRonnie Sahlberg <sahlberg@ronnie>
Mon, 27 Aug 2007 07:33:46 +0000 (17:33 +1000)
(This used to be ctdb commit a9c1be9cf9efdc69bfc95657b70e9f8b8230cda8)

ctdb/server/eventscript.c

index afb86d742d2abbc980c566eba46ed3b90ac5dbc4..c7339a355a6432ee693f9fbff1e11fd23f3767e7 100644 (file)
@@ -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;