From: Jameson Graef Rollins Date: Sat, 11 Jul 2009 20:06:50 +0000 (-0400) Subject: Merge commit 'mlcastle/master' X-Git-Tag: monkeysphere_0.25~25^2~5 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=3e5df3def466a61cd32bdcc1fd29da09dff43729;hp=46c1365e655bdd62f21d117630442a03174aff1e;p=monkeysphere.git Merge commit 'mlcastle/master' --- diff --git a/src/monkeysphere b/src/monkeysphere index 6f43632..c45a36f 100755 --- a/src/monkeysphere +++ b/src/monkeysphere @@ -144,7 +144,8 @@ check_gpg_authentication_subkey() { if [ "$validity" = 'u' ] ; then echo "A valid authentication key already exists for primary key '$keyID'." 1>&2 if [ "$PROMPT" = "true" ] ; then - read -p "Are you sure you would like to generate another one? (y/N) " OK; OK=${OK:N} + printf "Are you sure you would like to generate another one? (y/N) " + read OK; OK=${OK:N} if [ "${OK/y/Y}" != 'Y' ] ; then failure "aborting." fi