From 8e3ce4dc2b44a9d672e7a3c65aadd689c275b1d9 Mon Sep 17 00:00:00 2001 From: djm Date: Tue, 5 Feb 2002 01:14:41 +0000 Subject: [PATCH] - markus@cvs.openbsd.org 2002/01/29 16:41:19 [ssh-add.1] add DIAGNOSTICS; ok stevesk@ --- ChangeLog | 3 +++ ssh-add.1 | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bc068d36..6177d0e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -39,6 +39,9 @@ - stevesk@cvs.openbsd.org 2002/01/29 16:29:02 [session.c] limit subsystem length in log; ok markus@ + - markus@cvs.openbsd.org 2002/01/29 16:41:19 + [ssh-add.1] + add DIAGNOSTICS; ok stevesk@ 20020130 - (djm) Delay PRNG seeding until we need it in ssh-keygen, from markus@ diff --git a/ssh-add.1 b/ssh-add.1 index ef60d020..c7829520 100644 --- a/ssh-add.1 +++ b/ssh-add.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ssh-add.1,v 1.28 2001/12/21 10:06:43 djm Exp $ +.\" $OpenBSD: ssh-add.1,v 1.29 2002/01/29 16:41:19 markus Exp $ .\" .\" -*- nroff -*- .\" @@ -135,6 +135,11 @@ may be necessary to redirect the input from .Pa /dev/null to make this work.) .El +.Sh DIAGNOSTICS +Exit status is 0 on success, 1 if the specified command fails, +and 2 if +.Nm +is unable to contact the authentication agent. .Sh AUTHORS OpenSSH is a derivative of the original and free ssh 1.2.12 release by Tatu Ylonen. -- 2.45.2