From ac1e7db655c4be2f51511bdc967cdf16bf2560e7 Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Sat, 21 Feb 2009 16:48:30 -0500 Subject: [PATCH] make sure all prompt messages are going to stderr --- src/monkeysphere | 2 +- src/share/mh/add_hostname | 6 ++---- src/share/mh/add_revoker | 4 ++-- src/share/mh/revoke_hostname | 6 ++---- 4 files changed, 7 insertions(+), 11 deletions(-) diff --git a/src/monkeysphere b/src/monkeysphere index fd96f45..371983f 100755 --- a/src/monkeysphere +++ b/src/monkeysphere @@ -122,7 +122,7 @@ check_gpg_authentication_subkey() { fi # if authentication key is valid, prompt to continue if [ "$validity" = 'u' ] ; then - echo "A valid authentication key already exists for primary key '$keyID'." + 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} if [ "${OK/y/Y}" != 'Y' ] ; then diff --git a/src/share/mh/add_hostname b/src/share/mh/add_hostname index ec741ee..b08d688 100644 --- a/src/share/mh/add_hostname +++ b/src/share/mh/add_hostname @@ -32,11 +32,9 @@ find_host_userid > /dev/null && \ failure "Host userID '$userID' already exists." if [ "$PROMPT" = "true" ] ; then - cat <