bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/misc/entrance.git/commit/?id=b67f79219d817fe54623d8e16e010736f61b3552
commit b67f79219d817fe54623d8e16e010736f61b3552 Author: Marcel Hollerbach <[email protected]> Date: Mon Aug 3 13:22:05 2015 +0200 entrance_wait: do not react on closed children This fixes T2627 --- src/daemon/entrance_wait.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/daemon/entrance_wait.c b/src/daemon/entrance_wait.c index b34e913..4d97ef9 100644 --- a/src/daemon/entrance_wait.c +++ b/src/daemon/entrance_wait.c @@ -18,8 +18,7 @@ static void _entrance_wait_action(int sig, siginfo_t * si __UNUSED__, void *data __UNUSED__) { kill_wait(); - if (sig != SIGCHLD) - setenv("ENTRANCE_QUIT", "1", 1); + setenv("ENTRANCE_QUIT", "1", 1); } static void @@ -48,7 +47,6 @@ main (int argc __UNUSED__, char **argv __UNUSED__) action.sa_sigaction = _entrance_wait_action; action.sa_flags = SA_RESTART | SA_SIGINFO; sigemptyset(&action.sa_mask); - sigaction(SIGCHLD, &action, NULL); sigaction(SIGQUIT, &action, NULL); sigaction(SIGTERM, &action, NULL); sigaction(SIGKILL, &action, NULL); --
