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

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



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." ?

If the handler is sufficiently badly written that it invokes the same
command name again (with first installing it or some such), you get a
fork-bomb.




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