>>>>> On Wed, 18 May 2016, Amadeusz Żołnowski wrote:

>> Also, wouldn't the absence of 'die' cause silent breakages?

> I want to caller decide whether die or not and what error messge to
> give.

The EAPI 6 method would be to use "|| die -n". Then the caller can
either call "eawk" if the function should die automatically, or
"nonfatal eawk" if it should return with an error status.

Ulrich

Attachment: pgpdUEGb8D4lN.pgp
Description: PGP signature

Reply via email to