adjusting extraction of revokers. monkeysphere_0.23
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sat, 21 Feb 2009 22:34:15 +0000 (17:34 -0500)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sat, 21 Feb 2009 22:34:15 +0000 (17:34 -0500)
src/monkeysphere-host

index fc3b607b02f82c3c53f59a1aafdbfe7932833b39..1b0de0cd7c4a60eec47af82d48eb663d3302da41 100755 (executable)
@@ -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