X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=src%2Fshare%2Fmh%2Fpublish_key;h=f1c17234f819477b74e272bb1c37fac493b4e6b7;hb=7dbd6806e538ff8732dd87fcf20bfd8271464552;hp=553cd7257ccdd4969f7bb6ced3dcfb75841f5003;hpb=ce45ef5702e072e869fa9d1b703f99dc740eb000;p=monkeysphere.git diff --git a/src/share/mh/publish_key b/src/share/mh/publish_key index 553cd72..f1c1723 100644 --- a/src/share/mh/publish_key +++ b/src/share/mh/publish_key @@ -18,7 +18,7 @@ publish_key() { local keyID="$1" local GNUPGHOME -if [ "$PROMPT" = "true" ] ; then +if [ "$PROMPT" != "false" ] ; then printf "Really publish key '$keyID' to $KEYSERVER? (Y/n) " >&2 read OK; OK=${OK:=Y} if [ "${OK/y/Y}" != 'Y' ] ; then