On Monday 06 September 2010, Bruno Haible wrote:
> Hi Stefano,
> 
> > ... since the failing `test' is in a
> > `||' compound command.  Fix this problem by explicitly calling
> > `Exit 1' where needed.
> 
> Yes, please apply. I did not know until today that && and ||
> commands behave specially under 'set -e'.
Well, they don't, at least not as I thought the did.  As Ralf pointed 
out in a previous message:
  $ sh -c 'set -e; false || false; echo not-reached'
does *not* (and should not) print `not-reached'.

Consequently, my patch should this dropped as useless.

Sorry for the noise and the confusion,
   Stefano

Reply via email to