From da0dfc62df8ca884cdc27bb9fd26e520873e4c71 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 6 Nov 2006 12:49:20 +0000 Subject: fix error message --- Src/exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/exec.c') 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 * -- cgit 1.4.1