Do not call exit(3) in signal handler

Call safe _exit(2) instead
main
Christian Göttsche 5 years ago
parent fd8c0611af
commit bd694c0ce6
  1. 2
      CRT.c

@ -651,7 +651,7 @@ ATTR_NORETURN
static void CRT_handleSIGTERM(int sgn) {
(void) sgn;
CRT_done();
exit(0);
_exit(0);
}
#ifdef HAVE_SETUID_ENABLED

Loading…
Cancel
Save