X-Git-Url: https://git.xinqibao.xyz/st.git/blobdiff_plain/72e3f6c7c05b4d5b56388508bb20a863aec279f5..1d590910652519268152eae6b97cf30ace4e90c0:/st.c diff --git a/st.c b/st.c index 0ce6ac2..2bf133f 100644 --- a/st.c +++ b/st.c @@ -730,7 +730,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