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:
parent
e2413a0567
commit
74ccc7280a
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user