about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2000-08-08 02:38:35 +0000
committerBart Schaefer <barts@users.sourceforge.net>2000-08-08 02:38:35 +0000
commit72f4ec6b76ae0a5fdb10483a1c51cc60e0c93782 (patch)
treeef5462b9bd842dabe35f08fa3c799c12cef0bab2 /Src
parenta021f6329be43973cf4d9e9248daa915235dda9e (diff)
downloadzsh-72f4ec6b76ae0a5fdb10483a1c51cc60e0c93782.tar.gz
zsh-72f4ec6b76ae0a5fdb10483a1c51cc60e0c93782.tar.xz
zsh-72f4ec6b76ae0a5fdb10483a1c51cc60e0c93782.zip
users/3358: Zero shout when closing SHTTY in subshells.
Diffstat (limited to 'Src')
-rw-r--r--Src/exec.c1
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;
     }