diff options
author | Leah Neukirchen <leah@vuxu.org> | 2023-08-01 18:49:26 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2023-08-02 13:50:38 +0200 |
commit | f350b6f16c668cd49dc24be3b6dd44c059fe2e0c (patch) | |
tree | beb62542f4a90d688cd77a1512e605da7925d7cb /xe.1 | |
parent | 8a2a4899769335bc14c62aef12cdf26f2f487f2a (diff) | |
download | xe-f350b6f16c668cd49dc24be3b6dd44c059fe2e0c.tar.gz xe-f350b6f16c668cd49dc24be3b6dd44c059fe2e0c.tar.xz xe-f350b6f16c668cd49dc24be3b6dd44c059fe2e0c.zip |
properly forward errors on exec, return 123 on any exit status 1-254
Use the CLOEXEC pipe trick to detect if exec happened; read the errno from the pipe if it wasn't closed due to exec.
Diffstat (limited to 'xe.1')
-rw-r--r-- | xe.1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xe.1 b/xe.1 index b0c1a78..e37db66 100644 --- a/xe.1 +++ b/xe.1 @@ -1,4 +1,4 @@ -.Dd November 3, 2017 +.Dd August 1, 2023 .Dt XE 1 .Os .Sh NAME @@ -247,7 +247,7 @@ follows the convention of GNU and OpenBSD xargs: .It 0 on success .It 123 -if any invocation of the command exited with status 1 to 125. +if any invocation of the command exited with status 1 to 254. .It 124 if the command exited with status 255 .It 125 |