simplifying find_host_user_id function.
[monkeysphere.git] / src / share / mh / revoke_hostname
index b139cee0cdb4f6488a77797366ee5625fd16469c..b3b8d7a330481e70acfa17d7bc88f0670221d51d 100644 (file)
@@ -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