ia64/xen-unstable

changeset 17960:bad432c58f03

vtpm: Add two missing quotes in the vTPM hotplug script.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jul 03 11:31:40 2008 +0100 (2008-07-03)
parents 57f309919832
children d90c5e8d4ac2
files tools/examples/vtpm-common.sh
line diff
     1.1 --- a/tools/examples/vtpm-common.sh	Thu Jul 03 10:59:43 2008 +0100
     1.2 +++ b/tools/examples/vtpm-common.sh	Thu Jul 03 11:31:40 2008 +0100
     1.3 @@ -310,11 +310,11 @@ function vtpm_remove_instance () {
     1.4  
     1.5  	instance="0"
     1.6  
     1.7 -	if [ "$uuid != "" ]; then
     1.8 +	if [ "$uuid" != "" ]; then
     1.9  		instance=$(vtpmdb_find_instance $uuid)
    1.10  	fi
    1.11  
    1.12 -	if [ "$instance == "0" ]; then
    1.13 +	if [ "$instance" == "0" ]; then
    1.14  		domname=$(xenstore_read "$XENBUS_PATH"/domain)
    1.15  		instance=$(vtpmdb_find_instance $domname)
    1.16  	fi