diff --git a/st.c b/st.c index 641edc0..b57bdea 100644 --- a/st.c +++ b/st.c @@ -737,7 +737,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