tweak some of the prompting, to change defaults, and add PROMPT usage where missing
[monkeysphere.git] / src / share / mh / set_expire
index ae7c13a7089dedaa4baf37bc520f3053a6f137e9..63e5c5546addad6feb04356f3d29f81d9de488e8 100644 (file)
@@ -22,7 +22,7 @@ local extendTo
 extendTo=$(get_gpg_expiration "$1")
 
 if [ "$PROMPT" = "true" ] ; then
-    read -p "Are you sure you want to change the expiration on the host key to '$extendTo'? (y/N) " OK; OK=${OK:-N}
+    read -p "Are you sure you want to change the expiration on the host key to '$extendTo'? (Y/n) " OK; OK=${OK:-Y}
     if [ "${OK/y/Y}" != 'Y' ] ; then
        failure "expiration not set."
     fi