Fixing ctrl z handling since we don't have job control

This commit is contained in:
Anonymus Raccoon
2020-05-24 21:41:15 +02:00
parent cdee03bd6c
commit da59ac25e9
+1 -1
View File
@@ -30,7 +30,7 @@ void setup_sigint(void)
sa.sa_flags = SA_SIGINFO;
sigaction(SIGINT, &sa, NULL);
sa.sa_sigaction = &on_sigtstp;
sa.sa_flags = SA_SIGINFO;
sa.sa_flags = SA_SIGINFO | SA_RESTART;
sigaction(SIGTSTP, &sa, NULL);
}