mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
signal: Remove redundant set
This commit is contained in:
parent
c23fc9a365
commit
3eba6c5d5a
1 changed files with 0 additions and 1 deletions
|
@ -372,7 +372,6 @@ void signal_set_handlers(bool interactive) {
|
|||
sigaction(SIGIO, &act, nullptr);
|
||||
|
||||
// Whether or not we're interactive we want SIGCHLD to not interrupt restartable syscalls.
|
||||
act.sa_flags = SA_SIGINFO;
|
||||
act.sa_sigaction = &fish_signal_handler;
|
||||
act.sa_flags = SA_SIGINFO | SA_RESTART;
|
||||
if (sigaction(SIGCHLD, &act, nullptr)) {
|
||||
|
|
Loading…
Reference in a new issue