mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 05:24:23 +01:00
18144: no SIGHUP handler if parent was ignoring.
This commit is contained in:
parent
778a73b027
commit
8f67d52d72
@ -897,7 +897,10 @@ init_signals(void)
|
||||
signal_ignore(SIGQUIT);
|
||||
#endif
|
||||
|
||||
install_handler(SIGHUP);
|
||||
if (signal_ignore(SIGHUP) == SIG_IGN)
|
||||
opts[HUP] = 0;
|
||||
else
|
||||
install_handler(SIGHUP);
|
||||
install_handler(SIGCHLD);
|
||||
#ifdef SIGWINCH
|
||||
install_handler(SIGWINCH);
|
||||
|
Loading…
Reference in New Issue
Block a user