X-Git-Url: https://codewiz.org/gitweb?p=monkeysphere.git;a=blobdiff_plain;f=src%2Fmonkeysphere;h=c45a36f94d811d3a2ae5eaab382c557c0d0af1d3;hp=6f43632307b25d235ed5094457e96fe77de5b7a8;hb=4d9da8f75a38327d4a9fc1506739221f9fea9c2a;hpb=eb815bce0da27a24ad718c31b77e45032e3a5916 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