projects
/
monkeysphere.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb815bc
)
don't use read -p; it is sucky (closes: #446)
author
mike castleman
<m@mlcastle.net>
Sat, 11 Jul 2009 19:45:32 +0000
(15:45 -0400)
committer
mike castleman
<m@mlcastle.net>
Sat, 11 Jul 2009 19:45:32 +0000
(15:45 -0400)
src/monkeysphere
patch
|
blob
|
history
diff --git
a/src/monkeysphere
b/src/monkeysphere
index 6f43632307b25d235ed5094457e96fe77de5b7a8..c45a36f94d811d3a2ae5eaab382c557c0d0af1d3 100755
(executable)
--- a/
src/monkeysphere
+++ b/
src/monkeysphere
@@
-144,7
+144,8
@@
check_gpg_authentication_subkey() {
if [ "$validity" = 'u' ] ; then
echo "A valid authentication key already exists for primary key '$keyID'." 1>&2
if [ "$PROMPT" = "true" ] ; then
- read -p "Are you sure you would like to generate another one? (y/N) " OK; OK=${OK:N}
+ printf "Are you sure you would like to generate another one? (y/N) "
+ read OK; OK=${OK:N}
if [ "${OK/y/Y}" != 'Y' ] ; then
failure "aborting."
fi