diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-08-15 17:26:54 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-08-15 17:26:54 -0700 |
commit | a9b119833ad2475cb5ce4b785d2cb040e503a45f (patch) | |
tree | 2264aeeae252e9097046163e65454cbb7b7accfe /signal.cpp | |
parent | c5ffe8a9748c1cc2a44fc573ac6f8e752f9f8f72 (diff) |
Actually work around https://github.com/fish-shell/fish-shell/issues/278
Diffstat (limited to 'signal.cpp')
-rw-r--r-- | signal.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -635,10 +635,10 @@ void get_signals_with_handlers(sigset_t *set) { /* Don't include SIGTTIN or SIGTTOU until we figure out how to set the controlling terminal in POSIX_SPAWN */ #ifdef SIGTTIN - if (i == SIGTTIN) continue; + if (lookup[i].signal == SIGTTIN) continue; #endif #ifdef SIGTTOU - if (i == SIGTTOU) continue; + if (lookup[i].signal == SIGTTOU) continue; #endif struct sigaction act = {}; |