signal: Remove redundant set

This commit is contained in:
Fabian Homborg 2020-11-15 15:20:55 +01:00
parent c23fc9a365
commit 3eba6c5d5a

View file

@ -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)) {