From 9b47915914a2754753c0401a56b67f4c908c94fb Mon Sep 17 00:00:00 2001 From: Dan Kenigsberg Date: Sun, 20 Feb 2011 22:29:25 +0200 Subject: [PATCH] virt-pki-validate: behave when CERTTOOL is missing --- tools/virt-pki-validate.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/virt-pki-validate.in b/tools/virt-pki-validate.in index 207fa76c62..96659cfbf9 100755 --- a/tools/virt-pki-validate.in +++ b/tools/virt-pki-validate.in @@ -14,7 +14,7 @@ PORT=16514 # First get certtool # CERTOOL=`which certtool 2>/dev/null` -if [ ! -x $CERTOOL ] +if [ ! -x "$CERTOOL" ] then echo "Could not locate the certtool program" echo "make sure the gnutls-utils (or gnutls-bin) package is installed"