mirror of
https://github.com/sheumann/hush.git
synced 2024-12-28 22:30:05 +00:00
make sure we check job status whenever updating the prompt
This commit is contained in:
parent
0b87e4ad15
commit
8ec1c9dc6e
@ -2841,7 +2841,7 @@ static int run_list(struct pipe *pi)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if (pi->num_cmds == 0)
|
if (pi->num_cmds == 0)
|
||||||
continue;
|
goto check_jobs_and_continue;
|
||||||
|
|
||||||
/* After analyzing all keywords and conditions, we decided
|
/* After analyzing all keywords and conditions, we decided
|
||||||
* to execute this pipe. NB: has to do checkjobs(NULL)
|
* to execute this pipe. NB: has to do checkjobs(NULL)
|
||||||
@ -2928,6 +2928,8 @@ static int run_list(struct pipe *pi)
|
|||||||
) {
|
) {
|
||||||
skip_more_for_this_rword = rword;
|
skip_more_for_this_rword = rword;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
check_jobs_and_continue:
|
||||||
checkjobs(NULL);
|
checkjobs(NULL);
|
||||||
} /* for (pi) */
|
} /* for (pi) */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user