Re: [PATCH 2/2] shell: fix for 'wait -n' return 127 when nothing to wait
Luiz Angelo Daros de Luca via busybox <[email protected]>
| Newsgroups | gmane.linux.busybox |
|---|---|
| Message-ID | <CAJq09z7mFhs4P6CpQnU2bZY=sVxLta4hXwc+Q21eoHqf3yyUiA@mail.gmail.com> |
> On Thu, 6 Nov 2025 at 23:57, Dominique Martinet <[email protected]> wrote: > > > > From: Dominique Martinet <[email protected]> > > > > wait -n would only return 127 if there is no job, not if there is no job > > not accounted for. > > > > Hi, > I have applied the patch from Luiz just because he was the last one to > submit on that topic (ash wait) but I realised that the BASH_WAIT_N > symbol is undefined and it has no corresponding voice in the > menuconfig. Hi, BASH_WAIT_N is set by ENABLE_ASH_BASH_COMPAT value in ash.c. Just grep for it and check the first occurrence. > Are these patches in any manner related? Fixing similar issues but I wasn't aware of it. I just checked bugzilla for similar issues but it was a partial search as bugzilla and the site itself was very unstable these days. Most of my searches were using external cached pages. > Or are two independent approaches to the same issue? Yes, independent. Sorry I missed the Dominique Martinet patch series. > https://github.com/robang74/busybox/commit/7878ca060921422046c98d294a0aeecbf1b7f912 > > Best regards, > -- > Roberto A. Foglietta > +49.176.274.75.661 > +39.349.33.30.697 Regards, Luiz