summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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