13 Feb
2023
13 Feb
'23
2:16 a.m.
On Thu, 9 Feb 2023 15:59:49 +0100
Paul Holzinger
Exits codes are very useful for scripts, when the pasta child execvp() call fails with ENOENT that parent should also exit with > 0. In short the parent should always exit with the code from the child to make it useful in scripts.
It is easy to test with: `pasta -- bash -c "exit 3"; echo $?`
Signed-off-by: Paul Holzinger
Applied, thanks for the follow-up. -- Stefano