X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=src%2Fshare%2Fmh%2Fset_expire;h=68a8dfd010754a76f251220eeb4da45729b55992;hb=c39d11682121a43e690465d194a5bd9fa2275f42;hp=be3f6bb4b8cdc61ff8b28b046464b64ad3db640e;hpb=9307f58b4fdf8e139c4fd5de5c3a878b8b12d0b1;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