diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2009-07-11 19:04:05 -0400 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2009-07-11 19:04:05 -0400 |
commit | 0e288e3ce07ff84830aeaa414191666fad55db6b (patch) | |
tree | 563dc8669574489be4efdc4cf7c2ead745daa665 /src/share/mh/set_expire | |
parent | 0538dfc4b534ecc9e6d660bdb540abdbfdf97268 (diff) | |
parent | 56f591cdd4f4e7032d573f2942f7b6cf3a01c8c2 (diff) |
Merge commit 'jrollins/master'
Diffstat (limited to 'src/share/mh/set_expire')
-rw-r--r-- | src/share/mh/set_expire | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/share/mh/set_expire b/src/share/mh/set_expire index a6bf1f1..9889e76 100644 --- a/src/share/mh/set_expire +++ b/src/share/mh/set_expire @@ -22,7 +22,8 @@ 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:-Y} + printf "Are you sure you want to change the expiration on the host key to '%s'? (Y/n) " "$extendTo" >&2 + read OK; OK=${OK:-Y} if [ "${OK/y/Y}" != 'Y' ] ; then failure "expiration not set." fi |