X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=src%2Fshare%2Fmh%2Fset_expire;h=68a8dfd010754a76f251220eeb4da45729b55992;hb=c39d11682121a43e690465d194a5bd9fa2275f42;hp=049c2c52611b20d38ce187fafa07cb1ce26683da;hpb=ce45ef5702e072e869fa9d1b703f99dc740eb000;p=monkeysphere.git diff --git a/src/share/mh/set_expire b/src/share/mh/set_expire index 049c2c5..68a8dfd 100644 --- a/src/share/mh/set_expire +++ b/src/share/mh/set_expire @@ -35,7 +35,7 @@ shift keyID=$(check_key_input "$@") -if [ "$PROMPT" = "true" ] ; then +if [ "$PROMPT" != "false" ] ; then printf "Are you sure you want to change the expiration on key '$keyID' by '%s'? (Y/n) " "$extendBy" >&2 read OK; OK=${OK:-Y} if [ "${OK/y/Y}" != 'Y' ] ; then @@ -53,7 +53,7 @@ $extendBy save EOF -update_gpg_pub_file +update_pgp_pub_file log info <