mirror of
https://github.com/zoriya/ash.git
synced 2026-06-01 10:15:10 +00:00
Fixing ctrl z handling since we don't have job control
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user