Hi Norm,

> I customarily begin all my bash scripts with
> 
>   set -eu

Yes, I do something similar, but it was interactive use where I didn't
notice folder had failed.

>   command || true

Another idiom with this in place is

    r=0
    foo || r=$?
    # ...Continue to test $r for specific exit values.

Cheers, Ralph.

_______________________________________________
Nmh-workers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to