X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=src%2Fmonkeysphere;h=341b9fdbd4fefa8366a5d38205e99559d19e84d0;hb=811990b737bca2bd6ed26f9d002e55a9aa0b0cc2;hp=6f43632307b25d235ed5094457e96fe77de5b7a8;hpb=4ea066ebeb9b01afe213db3455ad1a1ff69c39ea;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