diff options
author | mike castleman <m@mlcastle.net> | 2009-07-11 16:19:31 -0400 |
---|---|---|
committer | mike castleman <m@mlcastle.net> | 2009-07-11 16:19:31 -0400 |
commit | a2704823c7770bc8df9377116877fcca78c3ea12 (patch) | |
tree | 9b018557b71721194835d14c9df0cc66d5dbd8db /src/monkeysphere | |
parent | 4d9da8f75a38327d4a9fc1506739221f9fea9c2a (diff) |
more replacement of read -p with printf; read (re #446)
Diffstat (limited to 'src/monkeysphere')
-rwxr-xr-x | src/monkeysphere | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monkeysphere b/src/monkeysphere index c45a36f..341b9fd 100755 --- a/src/monkeysphere +++ b/src/monkeysphere @@ -144,7 +144,7 @@ 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 - printf "Are you sure you would like to generate another one? (y/N) " + printf "Are you sure you would like to generate another one? (y/N) " >&2 read OK; OK=${OK:N} if [ "${OK/y/Y}" != 'Y' ] ; then failure "aborting." |