Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

RE: revised patch: zshmisc(1) clarify non-successful exit statuses



"Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Fri, Apr 23, 2021 at 2:03 PM <zeurkous@xxxxxxxx> wrote:
>>
>> That opens up a question: what happens when execution fails inside the
>> handler?
>
> Besides "The return status of the function becomes the status of the command." ?

Yes.

> If the handler is sufficiently badly written that it invokes the same
> command name again

Or another command that fails execution?

> (with first installing it or some such), you get a
> fork-bomb.

,s/with/without/ :?

         --zeurkous.

-- 
Friggin' Machines!




Messages sorted by: Reverse Date, Date, Thread, Author