diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-07-03 11:31:40 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-07-03 11:31:40 +0100 |
commit | 8d574cc7725981176ae64b73830a4830b3d8faf4 (patch) | |
tree | 1bc636e85588578fbb86c36c8d572664e3d82544 /tools/examples | |
parent | c896dc3dccc5318837be7a125eda7157716011bb (diff) | |
download | xen-8d574cc7725981176ae64b73830a4830b3d8faf4.tar.gz xen-8d574cc7725981176ae64b73830a4830b3d8faf4.tar.bz2 xen-8d574cc7725981176ae64b73830a4830b3d8faf4.zip |
vtpm: Add two missing quotes in the vTPM hotplug script.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Diffstat (limited to 'tools/examples')
-rw-r--r-- | tools/examples/vtpm-common.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/examples/vtpm-common.sh b/tools/examples/vtpm-common.sh index 93a40096ba..a45868eefd 100644 --- a/tools/examples/vtpm-common.sh +++ b/tools/examples/vtpm-common.sh @@ -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 |