diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2000-08-08 02:38:35 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2000-08-08 02:38:35 +0000 |
commit | 72f4ec6b76ae0a5fdb10483a1c51cc60e0c93782 (patch) | |
tree | ef5462b9bd842dabe35f08fa3c799c12cef0bab2 /Src/exec.c | |
parent | a021f6329be43973cf4d9e9248daa915235dda9e (diff) | |
download | zsh-72f4ec6b76ae0a5fdb10483a1c51cc60e0c93782.tar.gz zsh-72f4ec6b76ae0a5fdb10483a1c51cc60e0c93782.tar.xz zsh-72f4ec6b76ae0a5fdb10483a1c51cc60e0c93782.zip |
users/3358: Zero shout when closing SHTTY in subshells.
Diffstat (limited to 'Src/exec.c')
-rw-r--r-- | Src/exec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/exec.c b/Src/exec.c index c9a82f413..cec096d25 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -2503,6 +2503,7 @@ entersubsh(int how, int cl, int fake) if (!fake) subsh = 1; if (SHTTY != -1) { + shout = NULL; zclose(SHTTY); SHTTY = -1; } |