[PATCH] hush - non-interactive-shell-job-fix
Denys Vlasenko
vda.linux at googlemail.com
Wed Jun 3 12:39:27 UTC 2009
On Tue, Jun 2, 2009 at 10:48 PM, Bayram Kurumahmut <kbayram at ubicom.com> wrote:
> Some script files were not returning to the shell before this fix.
>
> cmd1
> cmd2
> cmd3 & ----> this line was causing problems.
> cmd4
>
> A comment extracted from hush:
>
> "....non-interactive bash does not continue if all processes in fg pipe are
> stopped...."
>
> It seems that we must return if there is no stopped or alive process in
> non-interactive shell. If we don't, code is stopping on waitpid() but there
> is no process to wait.
Committed, thanks
--
vda
More information about the busybox
mailing list