summaryrefslogtreecommitdiffstats
path: root/contrib/bmake
diff options
context:
space:
mode:
authorsjg <sjg@FreeBSD.org>2013-09-01 18:59:09 +0000
committersjg <sjg@FreeBSD.org>2013-09-01 18:59:09 +0000
commit171d8761733e0bd225c5aef84afed78ae3648b39 (patch)
treee72e9a197b4674d201a15bf7078f9ce5f0b7d969 /contrib/bmake
parent7351998cf8dfb6696100874613c8237166a17c86 (diff)
downloadFreeBSD-src-171d8761733e0bd225c5aef84afed78ae3648b39.zip
FreeBSD-src-171d8761733e0bd225c5aef84afed78ae3648b39.tar.gz
Pay attention to errCheck!
PR: 181715
Diffstat (limited to 'contrib/bmake')
-rw-r--r--contrib/bmake/compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/bmake/compat.c b/contrib/bmake/compat.c
index 3586048..797862e 100644
--- a/contrib/bmake/compat.c
+++ b/contrib/bmake/compat.c
@@ -340,7 +340,7 @@ again:
/*
* The following work for any of the builtin shell specs.
*/
- if (shellErrFlag) {
+ if (errCheck && shellErrFlag) {
shargv[shargc++] = shellErrFlag;
}
if (DEBUG(SHELL))
OpenPOWER on IntegriCloud