[PATCH v2] ssh-add: support external parsing of key listing

Steffen Nurpmeso steffen at sdaoden.eu
Sat Jan 11 14:21:24 AEDT 2025


Steffen Nurpmeso wrote in
 <20250111031926.AGltefav at steffen%sdaoden.eu>:
 |Jim Knoble wrote in
 | <06004671-E946-4462-9076-5C11D5D46E40 at pobox.com>:
 ||> On Jan 10, 2025, at 11:33, Steffen Nurpmeso <steffen at sdaoden.eu> wrote:
 ||> Fyi there is the >35 years old BSD sysexits.h that unfortunately
 ||> did not become standardized, but is widely available nonetheless.
 ||
 ||If you mean [this sysexits][*], that doesn't seem great for several \
 ||reasons:
 ...
 |I recalled something, and it could be the manual change was around
 |the standard discussion even:
 ...

Ah, and no earlier than 2015 it was changed to

  -It is not good practice to call
  -.Xr exit 3
  -with arbitrary values to indicate a failure condition when ending a program.
  -Instead, the pre-defined exit codes from
  -.Nm
  -should be used, so the caller of the process can get a rough
  -estimation about the failure class without looking up the source code.

I totally agree with the pre-2015 text.  It it true.

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)
|
|In Fall and Winter, feel "The Dropbear Bard"s pint(er).
|
|The banded bear
|without a care,
|Banged on himself for e'er and e'er
|
|Farewell, dear collar bear


More information about the openssh-unix-dev mailing list