From 79b36d00049e283bd34e2c49c78a8b089f7850c1 Mon Sep 17 00:00:00 2001 From: Quentin Armitage Date: Sun, 29 Nov 2015 09:30:00 +0000 Subject: Invoke all scripts with the default signal disposition Just as the change for notify scripts, it should apply to other scripts as well. Signed-off-by: Quentin Armitage (cherry picked from commit 0497e11625a80289da4845bb7c3b8aa779cdd59f) --- keepalived/check/check_misc.c | 2 +- keepalived/vrrp/vrrp_scheduler.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/keepalived/check/check_misc.c b/keepalived/check/check_misc.c index 53e08e9..79e08b5 100644 --- a/keepalived/check/check_misc.c +++ b/keepalived/check/check_misc.c @@ -149,7 +149,7 @@ misc_check_thread(thread_t * thread) } /* Child part */ - signal_handler_destroy(); + signal_handler_notify(); closeall(0); open("/dev/null", O_RDWR); diff --git a/keepalived/vrrp/vrrp_scheduler.c b/keepalived/vrrp/vrrp_scheduler.c index 47e6cd8..e887130 100644 --- a/keepalived/vrrp/vrrp_scheduler.c +++ b/keepalived/vrrp/vrrp_scheduler.c @@ -1004,7 +1004,7 @@ vrrp_script_thread(thread_t * thread) } /* Child part */ - signal_handler_destroy(); + signal_handler_notify(); closeall(0); open("/dev/null", O_RDWR); ret = dup(0); -- 1.7.12.1