summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-02-21 17:34:15 -0500
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-02-21 17:34:15 -0500
commit46fe34d78ca1acb59c996064e4b85f922cf9e9e6 (patch)
treece2599eda0692c95e5a7cfc8a581d8c71591c936
parentfa47d0b373ae70733c50420821cf2ef8e1ad7466 (diff)
adjusting extraction of revokers.
-rwxr-xr-xsrc/monkeysphere-host2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monkeysphere-host b/src/monkeysphere-host
index fc3b607..1b0de0c 100755
--- a/src/monkeysphere-host
+++ b/src/monkeysphere-host
@@ -193,7 +193,7 @@ show_key() {
# list revokers, if there are any
revokers=$(gpg --list-keys --with-colons --fixed-list-mode \
- | grep '^rvk:' | cut -d: -f10) || true
+ | awk -F: '/^rvk:/{ print $10 }' )
if [ "$revokers" ] ; then
echo "The following keys are allowed to revoke this host key:"
for key in $revokers ; do