projects
/
monkeysphere.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more think-os in the 0.23 transition script.
[monkeysphere.git]
/
src
/
share
/
mh
/
set_expire
diff --git
a/src/share/mh/set_expire
b/src/share/mh/set_expire
index 14d2501b6928d5a87f33989cfb3825be2b3bf53f..63e5c5546addad6feb04356f3d29f81d9de488e8 100644
(file)
--- 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
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
if [ "${OK/y/Y}" != 'Y' ] ; then
failure "expiration not set."
fi
@@
-30,7
+30,7
@@
else
log debug "extending without prompting."
fi
log debug "extending without prompting."
fi
-log info "setting host key expiration to ${extendTo}
:
"
+log info "setting host key expiration to ${extendTo}
.
"
log debug "executing host expire script..."
gpg_host_edit expire <<EOF
log debug "executing host expire script..."
gpg_host_edit expire <<EOF