bug-bash
[Top][All Lists]
Advanced

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

Re: [BUG] incorrect exit status from subshell on bash with --enable-mini


From: Martijn Dekker
Subject: Re: [BUG] incorrect exit status from subshell on bash with --enable-minimal-config
Date: Thu, 22 Sep 2016 05:25:33 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

Op 22-09-16 om 00:06 schreef Martijn Dekker:
> On bash-4.4 with --enable-minimal-config:
> $ (false);echo $?
> 0
> $ (false);echo $?
> 0
> $ (false);echo $?
> 0

Another clue to the nature of the bug: it apparently happens before
exiting the subshell.

$ (false && echo true || echo false)
true
$ false && echo true || echo false
false

- M.




reply via email to

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