diff options
author | Jameson Graef Rollins <jrollins@finestructure.net> | 2009-02-20 14:26:15 -0500 |
---|---|---|
committer | Jameson Graef Rollins <jrollins@finestructure.net> | 2009-02-20 14:26:15 -0500 |
commit | cd4c36070c85283086ed914d8fd6ac77884173bb (patch) | |
tree | ec17e07cc35e400ed4a372f2d59e47310418cfcb /src/share/mh/add_hostname | |
parent | 228dba26343aa8fdad67157a85549f102877083b (diff) |
tweak/cleanup some of the prompts.
Diffstat (limited to 'src/share/mh/add_hostname')
-rw-r--r-- | src/share/mh/add_hostname | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/share/mh/add_hostname b/src/share/mh/add_hostname index 0da6a06..ec741ee 100644 --- a/src/share/mh/add_hostname +++ b/src/share/mh/add_hostname @@ -32,8 +32,10 @@ find_host_userid > /dev/null && \ failure "Host userID '$userID' already exists." if [ "$PROMPT" = "true" ] ; then - echo "The following user ID will be added to the host key:" - echo " $userID" + cat <<EOF +The following user ID will be added to the host key: + $userID +EOF read -p "Are you sure you would like to add this user ID? (Y/n) " OK; OK=${OK:=Y} if [ "${OK/y/Y}" != 'Y' ] ; then failure "User ID not added." |