Pay attention to errCheck!

PR:		181715
This commit is contained in:
Simon J. Gerraty 2013-09-01 18:59:09 +00:00
parent 0d4f3c316e
commit f4ae7f0c45

View File

@ -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))