From fa47d0b373ae70733c50420821cf2ef8e1ad7466 Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Sat, 21 Feb 2009 17:30:54 -0500 Subject: [PATCH] make show-key so that it works even if there are no revokers. --- src/monkeysphere-host | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2