nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] folder -nocreate +/this/does/not/exist


From: Ralph Corderoy
Subject: Re: [Nmh-workers] folder -nocreate +/this/does/not/exist
Date: Mon, 29 Aug 2016 15:29:06 +0100

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]