summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/ssh.c
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2020-04-03 06:07:58 +0000
committerDamien Miller <djm@cvs.openbsd.org>2020-04-03 06:07:58 +0000
commitb94b82a649b2b19f744fcba234d5ef8eb9f5e562 (patch)
treed5734af0ebf4c5fc646529511acb420f55f4d77d /usr.bin/ssh/ssh.c
parent360cb967acbba1ed3924a6682ed859b7493f524e (diff)
r1.522 deleted one too many lines; repair
Diffstat (limited to 'usr.bin/ssh/ssh.c')
-rw-r--r--usr.bin/ssh/ssh.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c
index cc3b0cafafa..6ba2445d92e 100644
--- a/usr.bin/ssh/ssh.c
+++ b/usr.bin/ssh/ssh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh.c,v 1.525 2020/04/03 04:06:26 djm Exp $ */
+/* $OpenBSD: ssh.c,v 1.526 2020/04/03 06:07:57 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1516,6 +1516,7 @@ main(int ac, char **av)
}
if (options.forward_agent && options.forward_agent_sock_path != NULL) {
+ cp = options.forward_agent_sock_path;
if (cp[0] == '$') {
if (!valid_env_name(cp + 1)) {
fatal("Invalid ForwardAgent environment variable name %s", cp);