no quitting now

This commit is contained in:
Felix 2022-02-03 18:35:28 +01:00
parent e88465c2c9
commit 61382316d9

View File

@ -29,7 +29,7 @@ void sighandler() {
//sigprocmask(SIG_SETMASK, &mask, NULL); //sigprocmask(SIG_SETMASK, &mask, NULL);
signal(SIGINT, SIG_IGN); /* This will catch ctrl+c and ignore it*/ signal(SIGINT, SIG_IGN); /* This will catch ctrl+c and ignore it*/
//signal(SIGTSTP, SIG_IGN); /* This will catch ctrl+z and ignore it*/ signal(SIGTSTP, SIG_IGN); /* This will catch ctrl+z and ignore it*/
//signal(SIGTERM,SIG_IGN); //TODO block termios kanske... //signal(SIGTERM,SIG_IGN); //TODO block termios kanske...
} }