Archived
1
0
Fork 0

arch.c: changed clean_exit to exit when getting segfault signal, process will hang if not exited immediately.

This commit is contained in:
Henrik Hautakoski 2010-10-02 10:38:22 +02:00
parent 7209cfb1c4
commit 797545cd9b

View file

@ -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");