Date:        Thu, 19 Jun 2025 09:27:20 +0200
    From:        microsuxx <fxmb...@gmail.com>
    Message-ID:  
<caalkerhfceevda87cod74ehvamctopnukfkwexsu4f3rgha...@mail.gmail.com>

   | bash -e -c 'echo $(exit 1) ; wait -n ; echo survived'

You really need to stop proposing nonsense when you have no idea
what is happening, or why:

        bash -ec 'true; wait -n; echo survived'

no output.   The wait -n is returning an error, there's nothing
to wait for, the '-e' test is detecting that failing.  What
came before is irrelevant.   The same in your case (try exit 0).

kre

  • set -e doesn't ... nkkralev--- via Bug reports for the GNU Bourne Again SHell
    • Re: set -e... Greg Wooledge
      • Re: se... Steffen Nurpmeso
        • Re... microsuxx
          • ... nkkralev--- via Bug reports for the GNU Bourne Again SHell
            • ... microsuxx
              • ... microsuxx
                • ... nkkralev--- via Bug reports for the GNU Bourne Again SHell
                • ... Lawrence Velázquez
              • ... Robert Elz
    • Re: set -e... Chet Ramey

Reply via email to