Your message dated Sun, 24 Mar 2024 00:57:26 +0100
with message-id <bb4fb630-4b8f-4f75-a241-02a83a670...@svario.it>
and subject line Re: Bug#758969: bash: "! true &" sets $? to 1
has caused the Debian Bug report #758969,
regarding bash: "! true &" sets $? to 1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
758969: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758969
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: bash
Version: 4.3-9
Severity: normal

With bash:

vinc17@xvii:~$ ! true &
[1] 15171
vinc17@xvii:~$ echo $?
1
[1]+  Done                    true

while POSIX says:

  The exit status of an asynchronous list shall be zero.

in 
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_03_02

Other shells (dash, ksh93, mksh, zsh) behave correctly.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.11-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bash depends on:
ii  base-files   7.5
ii  dash         0.5.7-4
ii  debianutils  4.4
ii  libc6        2.19-9
ii  libncurses5  5.9+20140712-2
ii  libtinfo5    5.9+20140712-2

Versions of packages bash recommends:
ii  bash-completion  1:2.1-4

Versions of packages bash suggests:
pn  bash-doc  <none>

-- debconf-show failed

--- End Message ---
--- Begin Message ---
Version: 5.0-6

On Sat, 23 Aug 2014 12:36:45 +0200 Vincent Lefevre <vinc...@vinc17.net> wrote:
Package: bash
Version: 4.3-9
Severity: normal

With bash:

vinc17@xvii:~$ ! true &
[1] 15171
vinc17@xvii:~$ echo $?
1
[1]+  Done                    true

while POSIX says:

  The exit status of an asynchronous list shall be zero.

in 
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_03_02

Hi,

this issue does not seem to affect version 5.0-6 and later of bash.

    $ ! true &
    [1] 2264193
    [1]+  Done                    true
    $ echo $?
    0

Please reopen this bug if you can still reproduce this issue.

Regards,

--
Gioele Barabucci

--- End Message ---

Reply via email to