projects
/
monkeysphere.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
simplifying find_host_user_id function.
[monkeysphere.git]
/
src
/
share
/
mh
/
revoke_hostname
diff --git
a/src/share/mh/revoke_hostname
b/src/share/mh/revoke_hostname
index 7e4d573beab3fd038330f6582a0f38182c5a904b..b3b8d7a330481e70acfa17d7bc88f0670221d51d 100644
(file)
--- 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 fingerprint
local tmpuidMatch
local line
-local uidIndex
local message
local revuidCommand
local message
local revuidCommand
@@
-30,7
+29,7
@@
fi
userID="ssh://${1}"
# make sure the user ID to revoke
userID="ssh://${1}"
# make sure the user ID to revoke
-
uidIndex=$(find_host_userid)
|| \
+
find_host_userid "$userID"
|| \
failure "No non-revoked user ID found matching '$userID'."
if [ "$PROMPT" = "true" ] ; then
failure "No non-revoked user ID found matching '$userID'."
if [ "$PROMPT" = "true" ] ; then