RE: AuthorizedKeysCommand size issue?

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



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





[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux