1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

ctdb-recoverd: Log a message when terminating

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
Amitay Isaacs 2016-11-25 14:57:30 +11:00 committed by Martin Schwenke
parent e2413a0567
commit 74ccc7280a

View File

@ -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);
}