With debug_schedule_reopen_logs() the actual reopen only takes place at some
point in the future when a DEBUG message is processed.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14248
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit
19413e76a46f07fdd46fde5e60707bb6845a782d)
int signum, int count, void *siginfo,
void *private_data)
{
- debug_schedule_reopen_logs();
+ reopen_logs_internal();
}
static void sigterm_signal_handler(struct tevent_context *ev,