X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=src%2Fmonkeysphere;h=341b9fdbd4fefa8366a5d38205e99559d19e84d0;hb=8af517bd1dc3eea66a64387af3e69188a536b2ee;hp=6f43632307b25d235ed5094457e96fe77de5b7a8;hpb=dfdaec4fdfeeca291b40e8d1c2bec314c230d83d;p=monkeysphere.git diff --git a/src/monkeysphere b/src/monkeysphere index 6f43632..341b9fd 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) " >&2 + read OK; OK=${OK:N} if [ "${OK/y/Y}" != 'Y' ] ; then failure "aborting." fi