bug-bash
[Top][All Lists]
Advanced

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

Re: why "shopt -p" sometime return non-zero ?


From: Duncan Roe
Subject: Re: why "shopt -p" sometime return non-zero ?
Date: Thu, 25 Sep 2025 09:03:02 +1000

On Wed, Sep 24, 2025 at 02:10:48PM +0200, Jean-Jacques Brucker wrote:
>
[...]
>
> Why ?
>
> NB: As I use to use "set -e", it is a little annoying, and I won't like to 
> add a dirty "|| true" as a workaround.
>
`||:` also works - I use it sometimes in SBo scripts (all their templates have
`set -e`).

Cheers ... Duncan.



reply via email to

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