about summary refs log tree commit diff
path: root/Src/exec.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2006-11-06 12:49:20 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2006-11-06 12:49:20 +0000
commitda0dfc62df8ca884cdc27bb9fd26e520873e4c71 (patch)
tree834d56c370e252859b8b30b9a2261ca61e73d189 /Src/exec.c
parenta519a6d15ccbb429a112ed7b8f4594a51948629d (diff)
downloadzsh-da0dfc62df8ca884cdc27bb9fd26e520873e4c71.tar.gz
zsh-da0dfc62df8ca884cdc27bb9fd26e520873e4c71.tar.xz
zsh-da0dfc62df8ca884cdc27bb9fd26e520873e4c71.zip
fix error message
Diffstat (limited to 'Src/exec.c')
-rw-r--r--Src/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/exec.c b/Src/exec.c
index f9866235d..9e2ac1477 100644
--- a/Src/exec.c
+++ b/Src/exec.c
@@ -2265,7 +2265,7 @@ execcmd(Estate state, int input, int output, int how, int last1)
 	/* This is a current shell procedure that didn't need to fork.    *
 	 * This includes current shell procedures that are being exec'ed, *
 	 * as well as null execs.                                         */
-	jobtab[thisjob].stat |= STAT_CURSH;
+	jobtab[thisjob].stat |= STAT_CURSH|STAT_NOPRINT;
     } else {
 	/* This is an exec (real or fake) for an external command.    *
 	 * Note that any form of exec means that the subshell is fake *