Re: AuthorizedKeysCommand size issue?

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

 



On 04/16/2014 12:23 PM, Dag-Erling Smørgrav wrote:
Eitan Adler <lists@xxxxxxxxxxxxxx> writes:
Dag-Erling Smørgrav <des@xxxxxx> writes:
What OS are you on?  It is impossible for cat(1) on either Linux
(GNU coreutils) or BSD to return anything other than 0 or 1.
It can when killed by a signal:

Does the shell report signal + 128 when a process is killed by a signal?
That's unfortunate, as 141 is a perfectly valid exit code (0 - 255).
But if that is the case, 141 is SIGPIPE.

Isn't that behavior pretty much required by POSIX? "The exit status of a command that terminated because it received a signal shall be reported as greater than 128."


Christian
_______________________________________________
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