projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b87e4a
)
make sure we check job status whenever updating the prompt
author
Mike Frysinger
<vapier@gentoo.org>
Sun, 29 Mar 2009 00:45:26 +0000
(
00:45
-0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Sun, 29 Mar 2009 00:45:26 +0000
(
00:45
-0000)
shell/hush.c
patch
|
blob
|
history
diff --git
a/shell/hush.c
b/shell/hush.c
index 96c949115810a047ce78162ef75cafd1e162ad6f..9f0e7f809cf4ef802b4a9514e2d511b36e513b21 100644
(file)
--- a/
shell/hush.c
+++ b/
shell/hush.c
@@
-2841,7
+2841,7
@@
static int run_list(struct pipe *pi)
}
#endif
if (pi->num_cmds == 0)
- continue;
+
goto check_jobs_and_
continue;
/* After analyzing all keywords and conditions, we decided
* 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;
}
+
+ check_jobs_and_continue:
checkjobs(NULL);
} /* for (pi) */