On Mon, 25 Mar 2024 18:29:16 +0100 Petr Machata wrote: > +set_ret() > +{ > + local nret=$1; shift May be worth throwing in a comment that $1 must be a legal ksft ret code, not any exit code from random commands.
On Mon, 25 Mar 2024 18:29:16 +0100 Petr Machata wrote: > +set_ret() > +{ > + local nret=$1; shift May be worth throwing in a comment that $1 must be a legal ksft ret code, not any exit code from random commands.