I'm assuming 141 is SIGPIPE (128 indicating signal + SIGPIPE). I'm guessing cat dies because nonblack on the pipe? And once cat dies, curl dies with SIGPIPE. -----Original Message----- From: openssh-unix-dev [mailto:openssh-unix-dev-bounces+scott_n=xypro.com@xxxxxxxxxxx] On Behalf Of Christian Weisgerber Sent: Wednesday, April 16, 2014 7:54 AM To: openssh-unix-dev@xxxxxxxxxxx Subject: Re: AuthorizedKeysCommand size issue? On 2014-04-16, Dag-Erling Smørgrav <des@xxxxxx> wrote: > Does the shell report signal + 128 when a process is killed by a signal? Of course it does. It's been like this since (at least) the V7 Bourne shell. > That's unfortunate, as 141 is a perfectly valid exit code (0 - 255). Don't use exit codes >127. -- Christian "naddy" Weisgerber naddy@xxxxxxxxxxxx _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev