From: Stefan Berger Subject: [PATCH] [vTPM] Missing quotes in script Date: Thu, 03 Jul 2008 06:14:49 -0400 Message-ID: <1215080089.1990.1.camel@gsal-3.watson.ibm.com> Reply-To: stefanb@us.ibm.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-EDH1Vl0X5W30HTI+zVCI" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel Cc: Keir Fraser List-Id: xen-devel@lists.xenproject.org --=-EDH1Vl0X5W30HTI+zVCI Content-Type: text/plain Content-Transfer-Encoding: 7bit Add two missing quotes in the vTPM hotplug script. Signed-off-by: Stefan Berger --=-EDH1Vl0X5W30HTI+zVCI Content-Disposition: attachment; filename=vtpm_common_missing_quotes.diff Content-Type: text/x-patch; name=vtpm_common_missing_quotes.diff; charset=UTF-8 Content-Transfer-Encoding: 7bit Index: root/xen-unstable.hg/tools/examples/vtpm-common.sh =================================================================== --- root.orig/xen-unstable.hg/tools/examples/vtpm-common.sh +++ root/xen-unstable.hg/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 --=-EDH1Vl0X5W30HTI+zVCI Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=-EDH1Vl0X5W30HTI+zVCI--