git.samba.org
/
kamenim
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2413a0
)
ctdb-recoverd: Log a message when terminating
author
Amitay Isaacs
<amitay@gmail.com>
Fri, 25 Nov 2016 03:57:30 +0000
(14:57 +1100)
committer
Martin Schwenke
<martins@samba.org>
Mon, 5 Dec 2016 07:09:22 +0000
(08:09 +0100)
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/server/ctdb_recoverd.c
patch
|
blob
|
history
diff --git
a/ctdb/server/ctdb_recoverd.c
b/ctdb/server/ctdb_recoverd.c
index 2ea8a6929605a4ca91a8b5f4af9659766fdf3a20..c769538effeec9b0cabe68a5b8280abec030770f 100644
(file)
--- a/
ctdb/server/ctdb_recoverd.c
+++ b/
ctdb/server/ctdb_recoverd.c
@@
-2936,6
+2936,7
@@
static void recd_sig_term_handler(struct tevent_context *ev,
struct ctdb_recoverd *rec = talloc_get_type_abort(
private_data, struct ctdb_recoverd);
+ DEBUG(DEBUG_ERR, ("Received SIGTERM, exiting\n"));
ctdb_recovery_unlock(rec);
exit(0);
}