projects
/
monkeysphere.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'mlcastle/master'
[monkeysphere.git]
/
src
/
share
/
mh
/
add_revoker
diff --git
a/src/share/mh/add_revoker
b/src/share/mh/add_revoker
index c83cb24e3cff294a1ca8e3594b27332c63f7bbd3..89e6fcf03210bc6d83da36b883b01a2d7b947f1e 100644
(file)
--- a/
src/share/mh/add_revoker
+++ b/
src/share/mh/add_revoker
@@
-90,8
+90,8
@@
EOF
su_monkeysphere_user "GNUPGHOME=$tmpDir gpg --fingerprint 0x${fingerprint}!"
if [ "$PROMPT" = "true" ] ; then
su_monkeysphere_user "GNUPGHOME=$tmpDir gpg --fingerprint 0x${fingerprint}!"
if [ "$PROMPT" = "true" ] ; then
- read -p "Are you sure you want to add the above key as a revoker
-
of the host key? (Y/n) "
OK; OK=${OK:-Y}
+ printf "Are you sure you want to add the above key as a revoker\nof the host key? (Y/n) " >&2
+
read
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