X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=src%2Fshare%2Fmh%2Fset_expire;h=68a8dfd010754a76f251220eeb4da45729b55992;hb=7dbd6806e538ff8732dd87fcf20bfd8271464552;hp=be3f6bb4b8cdc61ff8b28b046464b64ad3db640e;hpb=638a70f020f4ccda3deb15e5c697d384e0f705d7;p=monkeysphere.git diff --git a/src/share/mh/set_expire b/src/share/mh/set_expire index be3f6bb..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