projects
/
monkeysphere.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
explicity set the USER variable, since it's needed for checking file permissions...
[monkeysphere.git]
/
src
/
share
/
mh
/
add_revoker
diff --git
a/src/share/mh/add_revoker
b/src/share/mh/add_revoker
index 50e8c67456d42a3fee0c68e09a8a4aa654bbdfe7..03ae56fe5374f435f19735feaacf483ed3113e05 100644
(file)
--- a/
src/share/mh/add_revoker
+++ b/
src/share/mh/add_revoker
@@
-80,7
+80,7
@@
else
if (( $(echo "$fingerprint" | wc -l) != 1 )) ; then
cat <<EOF
More than one fingerprint found:
if (( $(echo "$fingerprint" | wc -l) != 1 )) ; then
cat <<EOF
More than one fingerprint found:
-
echo
$fingerprint
+$fingerprint
Please use a more specific key ID.
EOF
failure
Please use a more specific key ID.
EOF
failure
@@
-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
- echo "Are you sure you want to add the above key as a revoker"
-
read -p "
of the host key? (Y/n) " OK; OK=${OK:-Y}
+ 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}
if [ "${OK/y/Y}" != 'Y' ] ; then
failure "revoker not added."
fi
if [ "${OK/y/Y}" != 'Y' ] ; then
failure "revoker not added."
fi