summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@finestructure.net>2009-02-21 17:30:54 -0500
committerJameson Graef Rollins <jrollins@finestructure.net>2009-02-21 17:30:54 -0500
commitfa47d0b373ae70733c50420821cf2ef8e1ad7466 (patch)
tree466c3d0cf1db1bc0e63b44688e97738a185bd349
parentd8d8885602a02f0c8f0c964926c88cabee773b91 (diff)
make show-key so that it works even if there are no revokers.
-rwxr-xr-xsrc/monkeysphere-host2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monkeysphere-host b/src/monkeysphere-host
index 0dba1f6..fc3b607 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)
+ | grep '^rvk:' | cut -d: -f10) || true
if [ "$revokers" ] ; then
echo "The following keys are allowed to revoke this host key:"
for key in $revokers ; do