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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=255127

View File

@ -340,7 +340,7 @@ CompatRunCommand(void *cmdp, void *gnp)
/*
* The following work for any of the builtin shell specs.
*/
if (shellErrFlag) {
if (errCheck && shellErrFlag) {
shargv[shargc++] = shellErrFlag;
}
if (DEBUG(SHELL))