Make sure that if a syntax error occurs, the parser does not try to evaluate command substitutions in the command

darcs-hash:20061008234458-ac50b-96f9be42b12a9d2d2b61f6700b25c1242e1c385b.gz
This commit is contained in:
axel 2006-10-09 09:44:58 +10:00
parent 941b472b37
commit 414fa591b8

View file

@ -1574,7 +1574,11 @@ static void parse_job_main_loop( process_t *p,
{
int skip=0;
if( current_block->skip )
if( j->skip )
{
skip = 1;
}
else if( current_block->skip )
{
/*
If this command should be skipped, we do not expand the arguments