summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-02-05 12:14:41 +1100
committerDamien Miller <djm@mindrot.org>2002-02-05 12:14:41 +1100
commitc313be27565a06282f4f331d639b588881f7715c (patch)
treefab54bdea2b9310629e1a812077c88a5c2f7942f
parentbaa08708524a45fa45e3e0ad612fa1f4f4c5a4d3 (diff)
- markus@cvs.openbsd.org 2002/01/29 16:41:19
[ssh-add.1] add DIAGNOSTICS; ok stevesk@
-rw-r--r--ChangeLog5
-rw-r--r--ssh-add.17
2 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b7ad40d2..daef21f0 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@
@@ -7441,4 +7444,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
-$Id: ChangeLog,v 1.1809 2002/02/05 01:14:10 djm Exp $
+$Id: ChangeLog,v 1.1810 2002/02/05 01:14:41 djm Exp $
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.