mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-18 18:52:44 +08:00
Set status to 1 on parse errors
darcs-hash:20051207130209-ac50b-f1431d395bf741bb4c8f99ed64ed8ccc53a960a3.gz
This commit is contained in:
parent
acde745e34
commit
479696a8ec
4
parser.c
4
parser.c
|
@ -1883,9 +1883,11 @@ static void eval_job( tokenizer *tok )
|
|||
else
|
||||
{
|
||||
/*
|
||||
This job could not be properly parsed. We free it instead.
|
||||
This job could not be properly parsed. We free it instead, and set the status to 1.
|
||||
*/
|
||||
job_free( j );
|
||||
|
||||
proc_set_last_status( 1 );
|
||||
}
|
||||
current_block->job = 0;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue
Block a user