[PATCH] replace exit(3) by _exit(2) in signal handler sigchld()

This commit is contained in:
bakkeby 2020-04-30 09:05:55 +02:00
parent 17afd4c38b
commit f34aef7e07
2 changed files with 2 additions and 2 deletions

2
st.c
View file

@ -803,7 +803,7 @@ sigchld(int a)
die("child exited with status %d\n", WEXITSTATUS(stat));
else if (WIFSIGNALED(stat))
die("child terminated due to signal %d\n", WTERMSIG(stat));
exit(0);
_exit(0);
}
void