AuthorizedKeysCommand size issue?

Eitan Adler lists at eitanadler.com
Wed Apr 16 06:10:42 EST 2014


On 15 April 2014 10:56, Dag-Erling Smørgrav <des at des.no> wrote:
> Yves Dorfsman <yves at zioup.com> writes:
>> Dag-Erling Smørgrav <des at des.no> writes:
>> > What returns exit code 141?
>> I suspect bash is returning the exit code from cat.
>
> 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:

On FreeBSD:

[10004 eitan at gravity (100%) ~ ]%cat /dev/zero
[1]    29728 terminated  cat /dev/zero
[10005 eitan at gravity (100%) ~ !143!]%echo $?
143


>
> DES
> --
> Dag-Erling Smørgrav - des at des.no
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



-- 
Eitan Adler


More information about the openssh-unix-dev mailing list