projects
/
monkeysphere.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'dkg/master'
[monkeysphere.git]
/
src
/
subcommands
/
mh
/
add-hostname
diff --git
a/src/subcommands/mh/add-hostname
b/src/subcommands/mh/add-hostname
index fc1ae9665ec76745ffed24900e72bea31e8e12fb..7726a298384d2ff6842ac0945391ef050e428bb6 100755
(executable)
--- a/
src/subcommands/mh/add-hostname
+++ b/
src/subcommands/mh/add-hostname
@@
-12,6
+12,8
@@
# add hostname user ID to server key
# add hostname user ID to server key
+add_hostname() {
+
local userID
local fingerprint
local tmpuidMatch
local userID
local fingerprint
local tmpuidMatch
@@
-61,7
+63,7
@@
if echo "$adduidCommand" | \
# update the trustdb for the authentication keyring
gpg_authentication "--check-trustdb"
# update the trustdb for the authentication keyring
gpg_authentication "--check-trustdb"
- show_
server_
key
+ show_key
echo
echo "NOTE: User ID added to key, but key not published."
echo
echo "NOTE: User ID added to key, but key not published."
@@
-69,3
+71,5
@@
if echo "$adduidCommand" | \
else
failure "Problem adding user ID."
fi
else
failure "Problem adding user ID."
fi
+
+}