Ulrich Mueller <u...@gentoo.org> writes: > Yes, of course. "|| die -n || return" if you want the function to > return at that point, if it was called under nonfatal. > >> https://blogs.gentoo.org/mgorny/2015/11/13/the-ultimate-guide-to-eapi-6 > > Note that the ${?} in the code example there is redundant.
Why redundant? I imagine we can call it like: if ! nonfatal efoo; then do_something_on_error fi can't we? -- Amadeusz Żołnowski
signature.asc
Description: PGP signature