Steffen Nurpmeso
2025-Jan-10 19:33 UTC
[PATCH v2] ssh-add: support external parsing of key listing
Corey Hickey wrote in <38d76f8e-0744-4bc5-b6e1-db7197e19ad7 at fatooh.org>: |On 2025-01-10 09:57, Jim Knoble wrote: |>> On Jan 9, 2025, at 19:14, Corey Hickey <bugfood-ml at fatooh.org> wrote: |>> |>> To address this, modify ssh-add to: |>> * [...] |>> * exit with a status of 0 instead of 1 |> |> When Damien wrote: |> |>> Adding a new exit status for the |>> no-keys-in-agent case would be |>> acceptable too I think. |> |> I interpreted that as "make ssh-add exit with status 2 or 3 or 99, \ |> for example, as opposed to 1". Fyi there is the >35 years old BSD sysexits.h that unfortunately did not become standardized, but is widely available nonetheless. --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
Jim Knoble
2025-Jan-10 21:55 UTC
[PATCH v2] ssh-add: support external parsing of key listing
> 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: 1. "A few programs exit with the following non-portable error codes. Do not use them." 2. The only statuses listed at [*] that could remor be applicable might be `EX_NOINPUT` or `EX_UNAVAILABLE`, but it's arguable that even those are not the meaning that's intended. 3. As you say, "did not become standardized". [*]: man.openbsd.org/sysexits -- jim knoble
Seemingly Similar Threads
- [PATCH v2] ssh-add: support external parsing of key listing
- [PATCH v2] ssh-add: support external parsing of key listing
- [PATCH v2] ssh-add: support external parsing of key listing
- [PATCH v2] ssh-add: support external parsing of key listing
- doveadm mailbox create error codes