svn commit: [25869] trunk/busybox/shell
vapier at busybox.net
vapier at busybox.net
Sun Mar 29 00:45:27 UTC 2009
Author: vapier
Date: 2009-03-29 00:45:26 +0000 (Sun, 29 Mar 2009)
New Revision: 25869
Log:
make sure we check job status whenever updating the prompt
Modified:
trunk/busybox/shell/hush.c
Changeset:
Modified: trunk/busybox/shell/hush.c
===================================================================
--- trunk/busybox/shell/hush.c 2009-03-28 21:06:38 UTC (rev 25868)
+++ trunk/busybox/shell/hush.c 2009-03-29 00:45:26 UTC (rev 25869)
@@ -2841,7 +2841,7 @@
}
#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 @@
) {
skip_more_for_this_rword = rword;
}
+
+ check_jobs_and_continue:
checkjobs(NULL);
} /* for (pi) */
More information about the busybox-cvs
mailing list