diff options
author | 2002-04-02 11:49:39 +0000 | |
---|---|---|
committer | 2002-04-02 11:49:39 +0000 | |
commit | c8cc5b21fbbbcbdb6914cb2dee1ce42058549fa3 (patch) | |
tree | a21c15adc81d14fcdf6ef2d034dd475a723a7c0d /usr.bin/ssh/ssh-agent.c | |
parent | fix keyid encoding wi_tx_key (diff) | |
download | wireguard-openbsd-c8cc5b21fbbbcbdb6914cb2dee1ce42058549fa3.tar.xz wireguard-openbsd-c8cc5b21fbbbcbdb6914cb2dee1ce42058549fa3.zip |
check $SHELL for -k and -d, too; http://bugzilla.mindrot.org/show_bug.cgi?id=199
Diffstat (limited to 'usr.bin/ssh/ssh-agent.c')
-rw-r--r-- | usr.bin/ssh/ssh-agent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-agent.c b/usr.bin/ssh/ssh-agent.c index e44ac8f6005..f6ce4a53042 100644 --- a/usr.bin/ssh/ssh-agent.c +++ b/usr.bin/ssh/ssh-agent.c @@ -35,7 +35,7 @@ #include "includes.h" #include <sys/queue.h> -RCSID("$OpenBSD: ssh-agent.c,v 1.84 2002/03/25 17:34:27 markus Exp $"); +RCSID("$OpenBSD: ssh-agent.c,v 1.85 2002/04/02 11:49:39 markus Exp $"); #include <openssl/evp.h> #include <openssl/md5.h> @@ -845,7 +845,7 @@ main(int ac, char **av) if (ac > 0 && (c_flag || k_flag || s_flag || d_flag)) usage(); - if (ac == 0 && !c_flag && !k_flag && !s_flag && !d_flag) { + if (ac == 0 && !c_flag && !s_flag) { shell = getenv("SHELL"); if (shell != NULL && strncmp(shell + strlen(shell) - 3, "csh", 3) == 0) c_flag = 1; |