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