A stopped job make ash ignores exit
Ron Yorston
rmy at pobox.com
Sun Sep 12 09:29:28 UTC 2021
Roberto wrote:
> IMHO this line
>
>> + if (iflag || job_warning)
>> goto out;
>
> should be modified in this way
>
>> + if (!iflag || job_warning)
>> goto out;
>
> Non-interactive shells should not care about stopped jobs but
>interactive shells do as you said.
>
> Is that right?
It is. My bad.
Actually, things are a bit more complicated. I had a patch queued for
submission which has an impact on this. I foresee a series of patches.
Give me a moment...
Ron
More information about the busybox
mailing list