From: Daniel Kahn Gillmor Date: Sat, 21 Feb 2009 22:34:15 +0000 (-0500) Subject: adjusting extraction of revokers. X-Git-Tag: monkeysphere_0.23 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=a4d2581526b1662cd144e2b1607dd4a4c93e26db;p=monkeysphere.git adjusting extraction of revokers. --- 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