summaryrefslogtreecommitdiff
path: root/src/share/mh/revoke_hostname
diff options
context:
space:
mode:
authorMatt Goins <mjgoins@openflows.com>2009-03-24 16:46:57 -0400
committerMatt Goins <mjgoins@openflows.com>2009-03-24 16:46:57 -0400
commitf77a5d79b4a9b4b44cb3786237931458265e49ed (patch)
tree9e6ccf151a5fe7fd4b6c0d4ded98a16d17e674a6 /src/share/mh/revoke_hostname
parentb8c187a0803442fbf4d9c432cac90925791171aa (diff)
parentb371a109bbaf7e1d1bd424a0495dafca1284ada9 (diff)
Merge commit 'dkg/master'
Diffstat (limited to 'src/share/mh/revoke_hostname')
-rw-r--r--src/share/mh/revoke_hostname8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/share/mh/revoke_hostname b/src/share/mh/revoke_hostname
index 2142af7..5dc327f 100644
--- a/src/share/mh/revoke_hostname
+++ b/src/share/mh/revoke_hostname
@@ -54,17 +54,15 @@ else
fi
# edit-key script command to revoke user ID
-revuidCommand=$(cat <<EOF
-$uidIndex
+revuidCommand="$uidIndex
revuid
y
4
Hostname removed by monkeysphere-host: $DATE
y
-save
-EOF
- )
+save"
+# end script
# execute edit-key script
if echo "$revuidCommand" | gpg_host_edit ; then