X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=src%2Fmonkeysphere;fp=src%2Fmonkeysphere;h=1dee3bab81411bf6c03441a0dfa6fc3cf1c089ae;hb=7dbd6806e538ff8732dd87fcf20bfd8271464552;hp=e84ee63c24254041bd05becd0d0d4b2ce4712099;hpb=638a70f020f4ccda3deb15e5c697d384e0f705d7;p=monkeysphere.git diff --git a/src/monkeysphere b/src/monkeysphere index e84ee63..1dee3ba 100755 --- a/src/monkeysphere +++ b/src/monkeysphere @@ -146,7 +146,7 @@ check_gpg_authentication_subkey() { # if authentication key is valid, prompt to continue if [ "$validity" = 'u' ] ; then echo "A valid authentication key already exists for primary key '$keyID'." 1>&2 - if [ "$PROMPT" = "true" ] ; then + if [ "$PROMPT" != "false" ] ; then 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