diff options
author | Jameson Graef Rollins <jrollins@finestructure.net> | 2009-02-19 01:20:33 -0500 |
---|---|---|
committer | Jameson Graef Rollins <jrollins@finestructure.net> | 2009-02-19 01:20:33 -0500 |
commit | 4465c13b93d3d4bc1cb59c5506775b4fc0274058 (patch) | |
tree | 31cf38794af37a7c3ef8e34a8d3e496449cf4aa7 /src/share/mh/set_expire | |
parent | a7d9d68be60e5d46c016806a47227cd2f2e5a6c7 (diff) |
tweak some of the prompting, to change defaults, and add PROMPT usage where missing
Diffstat (limited to 'src/share/mh/set_expire')
-rw-r--r-- | src/share/mh/set_expire | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/mh/set_expire b/src/share/mh/set_expire index ae7c13a..63e5c55 100644 --- a/src/share/mh/set_expire +++ b/src/share/mh/set_expire @@ -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 |