projects
/
monkeysphere.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more replacement of read -p with printf; read (re #446)
[monkeysphere.git]
/
src
/
share
/
ma
/
remove_certifier
diff --git
a/src/share/ma/remove_certifier
b/src/share/ma/remove_certifier
index 95f6dffe8d5cc4accee8cbf0c78c39055a831ec6..79f1cdac8b7ff866f9ab739467977039b2266859 100644
(file)
--- a/
src/share/ma/remove_certifier
+++ b/
src/share/ma/remove_certifier
@@
-27,7
+27,8
@@
fi
gpg_core --list-key --fingerprint "0x${keyID}!" || failure
if [ "$PROMPT" = "true" ] ; then
gpg_core --list-key --fingerprint "0x${keyID}!" || failure
if [ "$PROMPT" = "true" ] ; then
- read -p "Really remove above listed identity certifier? (Y/n) " OK; OK=${OK:-Y}
+ printf "Really remove the above listed identity certifier? (Y/n) " >&2
+ read OK; OK=${OK:-Y}
if [ "${OK/y/Y}" != 'Y' ] ; then
failure "Identity certifier not removed."
fi
if [ "${OK/y/Y}" != 'Y' ] ; then
failure "Identity certifier not removed."
fi