summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--accel-pppd/extra/pppd_compat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/accel-pppd/extra/pppd_compat.c b/accel-pppd/extra/pppd_compat.c
index 68d718b..5e17322 100644
--- a/accel-pppd/extra/pppd_compat.c
+++ b/accel-pppd/extra/pppd_compat.c
@@ -287,6 +287,7 @@ static void ev_ppp_finished(struct ppp_t *ppp)
triton_context_schedule();
pthread_mutex_lock(&pd->ip_down_hnd.lock);
pthread_mutex_unlock(&pd->ip_down_hnd.lock);
+ sigchld_unregister_handler(&pd->ip_down_hnd);
} else if (pid == 0) {
sigset_t set;
sigfillset(&set);