This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
master - BZ 453429: Fix conditional check of$OCF_RESKEY_migration_mapping
- From: "Ryan O'Hara" <rohara at fedoraproject dot org>
- To: cluster-cvs-relay at redhat dot com
- Date: Thu, 6 Nov 2008 20:18:45 +0000 (UTC)
- Subject: master - BZ 453429: Fix conditional check of$OCF_RESKEY_migration_mapping
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=99572c2e8e90f8382fecb49c51efcf6567d9e6d6
Commit: 99572c2e8e90f8382fecb49c51efcf6567d9e6d6
Parent: ad0a7afec048ab20c76a56a4fc1ede9f091f5873
Author: Ryan O'Hara <rohara@redhat.com>
AuthorDate: Thu Nov 6 14:18:24 2008 -0600
Committer: Ryan O'Hara <rohara@redhat.com>
CommitterDate: Thu Nov 6 14:18:24 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 e72cbbb..07561d0 100644
--- a/rgmanager/src/resources/vm.sh
+++ b/rgmanager/src/resources/vm.sh
@@ -503,7 +503,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