Corinna Vinschen
2005-Oct-25 08:46 UTC
[PATCH] Fix duplicated text in contrib/cygwin/ssh-user-config
Hi, The contrib/cygwin/ssh-user-config script accidentally prints Shall I create an SSH2 RSA identity file for you? (yes/no) (yes/no) _ where one "(yes/no)" would have been sufficient. The below patch fixes that. Please apply. Thanks, Corinna Index: contrib/cygwin/ssh-user-config ==================================================================RCS file: /cvs/openssh_cvs/contrib/cygwin/ssh-user-config,v retrieving revision 1.3 diff -p -u -r1.3 ssh-user-config --- contrib/cygwin/ssh-user-config 13 Nov 2003 00:28:49 -0000 1.3 +++ contrib/cygwin/ssh-user-config 25 Oct 2005 07:45:38 -0000 @@ -198,7 +198,7 @@ fi if [ ! -f "${pwdhome}/.ssh/id_rsa" ] then - if request "Shall I create an SSH2 RSA identity file for you? (yes/no) " + if request "Shall I create an SSH2 RSA identity file for you?" then echo "Generating ${pwdhome}/.ssh/id_rsa" if [ "${with_passphrase}" = "yes" ] @@ -217,7 +217,7 @@ fi if [ ! -f "${pwdhome}/.ssh/id_dsa" ] then - if request "Shall I create an SSH2 DSA identity file for you? (yes/no) " + if request "Shall I create an SSH2 DSA identity file for you?" then echo "Generating ${pwdhome}/.ssh/id_dsa" if [ "${with_passphrase}" = "yes" ] -- Corinna Vinschen Cygwin Project Co-Leader Red Hat, Inc.