aboutsummaryrefslogtreecommitdiffhomepage
path: root/parser.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-10-09 11:21:02 +1000
committerGravatar axel <axel@liljencrantz.se>2006-10-09 11:21:02 +1000
commita074cd62bccf9a163d970d77d0c3ba86166045de (patch)
tree31072cfb44e432d4641e0fb4c87671f299425cd5 /parser.c
parent7a8b46816556339059878cf62dbe142552de953a (diff)
Be more rigorous with the exit codes set by the parser and builtins
darcs-hash:20061009012102-ac50b-4f28c43dd1ccdcc04d1620a6da05218a99fd7337.gz
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.c b/parser.c
index 84c9a9e4..4d558979 100644
--- a/parser.c
+++ b/parser.c
@@ -1816,7 +1816,7 @@ static void parse_job_main_loop( process_t *p,
if( unmatched_wildcard && !matched_wildcard )
{
j->wildcard_error = 1;
- proc_set_last_status( 1 );
+ proc_set_last_status( STATUS_UNMATCHED_WILDCARD );
if( is_interactive && !is_block )
{
int tmp;