diff options
author | Matt Goins <mjgoins@openflows.com> | 2009-02-20 11:42:10 -0500 |
---|---|---|
committer | Matt Goins <mjgoins@openflows.com> | 2009-02-20 11:42:10 -0500 |
commit | d41fe28eb49e42d7773a223a43fd108913410c99 (patch) | |
tree | a109a88b02089a3f328730a9aa394e3155fda916 /src/share/mh/revoke_hostname | |
parent | 3b48f2e80fac8d0fc62537ed07b3d1f1946648cd (diff) | |
parent | 9b47ae89c3840eb2af9a57a885e19ccbe36957d5 (diff) |
Merge commit 'jrollins/master'
Diffstat (limited to 'src/share/mh/revoke_hostname')
-rw-r--r-- | src/share/mh/revoke_hostname | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/share/mh/revoke_hostname b/src/share/mh/revoke_hostname index 77f1f0d..71b56ed 100644 --- a/src/share/mh/revoke_hostname +++ b/src/share/mh/revoke_hostname @@ -28,7 +28,7 @@ if [ -z "$1" ] ; then fi echo "WARNING: There is a known bug in this function." -echo "This function has been known to occasionally revoke the wrong user ID." +echo "This function has been known to occasionally revoke the wrong hostname." echo "Please see the following bug report for more information:" echo "https://labs.riseup.net/code/issues/show/422" read -p "Are you sure you would like to proceed? (y/N) " OK; OK=${OK:=N} @@ -45,8 +45,8 @@ uidIndex=$(find_host_userid) || \ if [ "$PROMPT" = "true" ] ; then echo "The following host key user ID will be revoked:" echo " $userID" - read -p "Are you sure you would like to revoke this user ID? (y/N) " OK; OK=${OK:=N} - if [ ${OK/y/Y} != 'Y' ] ; then + read -p "Are you sure you would like to revoke this user ID? (N/y) " OK; OK=${OK:=Y} + if [ "${OK/y/Y}" != 'Y' ] ; then failure "User ID not revoked." fi else |