diff options
| author | Bart Schaefer <barts@users.sourceforge.net> | 2011-05-24 15:49:03 +0000 |
|---|---|---|
| committer | Bart Schaefer <barts@users.sourceforge.net> | 2011-05-24 15:49:03 +0000 |
| commit | e39dfaeb9575a602c34285390df3662c2073cc81 (patch) | |
| tree | 67d01391e974606c44de42485f8e714ed6ca70d1 /Src/exec.c | |
| parent | Belated commit: unposted tweak to description of the -l / LOGIN option. (diff) | |
| download | zsh-e39dfaeb9575a602c34285390df3662c2073cc81.tar zsh-e39dfaeb9575a602c34285390df3662c2073cc81.tar.gz zsh-e39dfaeb9575a602c34285390df3662c2073cc81.tar.bz2 zsh-e39dfaeb9575a602c34285390df3662c2073cc81.tar.lz zsh-e39dfaeb9575a602c34285390df3662c2073cc81.tar.xz zsh-e39dfaeb9575a602c34285390df3662c2073cc81.tar.zst zsh-e39dfaeb9575a602c34285390df3662c2073cc81.zip | |
29367, 29368: avoid redirecting the xtrace of simple commands along with
their standard error.
Diffstat (limited to 'Src/exec.c')
| -rw-r--r-- | Src/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/exec.c b/Src/exec.c index 0e1a6c81f..2558185c8 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -3079,7 +3079,6 @@ execcmd(Estate state, int input, int output, int how, int last1) if (mfds[i] && mfds[i]->ct >= 2) closemn(mfds, i); - xtrerr = stderr; if (nullexec) { if (nullexec == 1) { /* @@ -4260,6 +4259,7 @@ execshfunc(Shfunc shf, LinkList args) cmdsp = 0; if ((osfc = sfcontext) == SFC_NONE) sfcontext = SFC_DIRECT; + xtrerr = stderr; doshfunc(shf, args, 0); sfcontext = osfc; free(cmdstack); |
