projects
/
monkeysphere.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tweak some of the prompting, to change defaults, and add PROMPT usage where missing
[monkeysphere.git]
/
src
/
share
/
mh
/
add_revoker
diff --git
a/src/share/mh/add_revoker
b/src/share/mh/add_revoker
index bdcb749118141cb8ed9a14be434c963feeaa0803..21dc0bb11a7191674d9b48986c0a289fe61014cf 100644
(file)
--- a/
src/share/mh/add_revoker
+++ b/
src/share/mh/add_revoker
@@
-79,7
+79,7
@@
gpg_host --fingerprint "0x${fingerprint}!"
if [ "$PROMPT" = "true" ] ; then
echo "Are you sure you want to add the above key as a"
if [ "$PROMPT" = "true" ] ; then
echo "Are you sure you want to add the above key as a"
- read -p "revoker of the host key? (
y/N) " OK; OK=${OK:-N
}
+ read -p "revoker of the host key? (
Y/n) " OK; OK=${OK:-Y
}
if [ "${OK/y/Y}" != 'Y' ] ; then
failure "revoker not added."
fi
if [ "${OK/y/Y}" != 'Y' ] ; then
failure "revoker not added."
fi