arch.c: changed clean_exit to exit when getting segfault signal, process will hang if not exited immediately.
This commit is contained in:
parent
7209cfb1c4
commit
797545cd9b
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ static void sighandl(int sig) {
|
|||
/* segmentation violation, let user now */
|
||||
case SIGSEGV :
|
||||
fprintf(stderr, "SEGFAULT: o no he didn't\n");
|
||||
clean_exit(EXIT_FAILURE);
|
||||
exit(EXIT_FAILURE);
|
||||
case SIGUSR1 :
|
||||
case SIGUSR2 :
|
||||
printf("notify stat:\n");
|
||||
|
|
|
|||
Reference in a new issue