AuthorizedKeysCommand size issue?

Scott Neugroschl scott_n at xypro.com
Thu Apr 17 01:22:10 EST 2014


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 at mindrot.org] On Behalf Of Christian Weisgerber
Sent: Wednesday, April 16, 2014 7:54 AM
To: openssh-unix-dev at mindrot.org
Subject: Re: AuthorizedKeysCommand size issue?

On 2014-04-16, Dag-Erling Smørgrav <des at des.no> 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 at mips.inka.de
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev at mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev


More information about the openssh-unix-dev mailing list