]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virt-pki-validate: behave when CERTTOOL is missing
authorDan Kenigsberg <danken@redhat.com>
Sun, 20 Feb 2011 20:29:25 +0000 (22:29 +0200)
committerEric Blake <eblake@redhat.com>
Mon, 21 Feb 2011 17:28:01 +0000 (10:28 -0700)
tools/virt-pki-validate.in

index 207fa76c6218a90d3bafceae0748418eb31c3d72..96659cfbf9db83d3354b0283fb3a51d20d999d38 100755 (executable)
@@ -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"