about summary refs log tree commit diff
path: root/Src/init.c
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-02-19 19:35:26 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-02-19 19:35:26 +0000
commitac6487085024cb65b94d761add66835aac6b6a6e (patch)
tree84047ea78f419f4cce3a12deb03d0c501d570343 /Src/init.c
parent8e939f069e4deeda1ad9d7611c494731259df811 (diff)
downloadzsh-ac6487085024cb65b94d761add66835aac6b6a6e.tar.gz
zsh-ac6487085024cb65b94d761add66835aac6b6a6e.tar.xz
zsh-ac6487085024cb65b94d761add66835aac6b6a6e.zip
zsh-workers/9792
Diffstat (limited to 'Src/init.c')
-rw-r--r--Src/init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Src/init.c b/Src/init.c
index 5a6139438..258801116 100644
--- a/Src/init.c
+++ b/Src/init.c
@@ -331,6 +331,9 @@ init_io(void)
 	SHTTY = -1;
     }
 
+    /* Send xtrace output to stderr -- see execcmd() */
+    xtrerr = stderr;
+
     /* Make sure the tty is opened read/write. */
     if (isatty(0)) {
 	zsfree(ttystrname);