[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] vtpm: Add two missing quotes in the vTPM hotplug script.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1215081100 -3600
# Node ID bad432c58f03f0d9355413e10502f81ab87d46ab
# Parent  57f3099198320d753e293244a60f30387e4bdb11
vtpm: Add two missing quotes in the vTPM hotplug script.

Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
---
 tools/examples/vtpm-common.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 57f309919832 -r bad432c58f03 tools/examples/vtpm-common.sh
--- a/tools/examples/vtpm-common.sh     Thu Jul 03 10:59:43 2008 +0100
+++ b/tools/examples/vtpm-common.sh     Thu Jul 03 11:31:40 2008 +0100
@@ -310,11 +310,11 @@ function vtpm_remove_instance () {
 
        instance="0"
 
-       if [ "$uuid != "" ]; then
+       if [ "$uuid" != "" ]; then
                instance=$(vtpmdb_find_instance $uuid)
        fi
 
-       if [ "$instance == "0" ]; then
+       if [ "$instance" == "0" ]; then
                domname=$(xenstore_read "$XENBUS_PATH"/domain)
                instance=$(vtpmdb_find_instance $domname)
        fi

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.