summaryrefslogtreecommitdiff
path: root/src/share/mh/revoke_hostname
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-07-14 02:00:23 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-07-14 02:00:23 -0400
commit80f608dfb8cd0a59609f3c98834e44f0c78fffb0 (patch)
tree036fecc35b4bed0f39261fe58bdd865aa4a0c33a /src/share/mh/revoke_hostname
parent82d758a25428509963ddb2a8f7db05c74348c628 (diff)
simplifying find_host_user_id function.
Diffstat (limited to 'src/share/mh/revoke_hostname')
-rw-r--r--src/share/mh/revoke_hostname3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/share/mh/revoke_hostname b/src/share/mh/revoke_hostname
index b139cee..b3b8d7a 100644
--- a/src/share/mh/revoke_hostname
+++ b/src/share/mh/revoke_hostname
@@ -19,7 +19,6 @@ local userID
local fingerprint
local tmpuidMatch
local line
-local uidIndex
local message
local revuidCommand
@@ -30,7 +29,7 @@ fi
userID="ssh://${1}"
# make sure the user ID to revoke
-uidIndex=$(find_host_userid "$userID") || \
+find_host_userid "$userID" || \
failure "No non-revoked user ID found matching '$userID'."
if [ "$PROMPT" = "true" ] ; then