This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RHEL5 - BZ 453429: Fix conditional check of$OCF_RESKEY_migration_mapping


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=ed809facf03ba7e16a789f2ce71d660d11b71cea
Commit:        ed809facf03ba7e16a789f2ce71d660d11b71cea
Parent:        a911c86f7c6b9d159877a16c3d9d721dec7b917b
Author:        Ryan O'Hara <rohara@redhat.com>
AuthorDate:    Thu Nov 6 14:07:29 2008 -0600
Committer:     Ryan O'Hara <rohara@redhat.com>
CommitterDate: Thu Nov 6 14:07:29 2008 -0600

BZ 453429: Fix conditional check of $OCF_RESKEY_migration_mapping

to be double quoted.
---
 rgmanager/src/resources/vm.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/rgmanager/src/resources/vm.sh b/rgmanager/src/resources/vm.sh
index 9c09d3f..c61ca7c 100755
--- a/rgmanager/src/resources/vm.sh
+++ b/rgmanager/src/resources/vm.sh
@@ -487,7 +487,7 @@ migrate()
 
 	# Patch from Marcelo Azevedo to migrate over private
 	# LANs instead of public LANs
-	if [ -n $OCF_RESKEY_migration_mapping ]; then
+	if [ -n "$OCF_RESKEY_migration_mapping" ]; then
 		target=${OCF_RESKEY_migration_mapping#*$target:} target=${target%%,*}
 	fi
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]