This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
STABLE2 - 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:17:03 +0000 (UTC)
- Subject: STABLE2 - BZ 453429: Fix conditional check of$OCF_RESKEY_migration_mapping
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=e0c81ef45e095b47563a949f2aacc5c0172ff8ce
Commit: e0c81ef45e095b47563a949f2aacc5c0172ff8ce
Parent: 2a983d103349d8aa1da2a7332bec334b849b0e3e
Author: Ryan O'Hara <rohara@redhat.com>
AuthorDate: Thu Nov 6 14:16:21 2008 -0600
Committer: Ryan O'Hara <rohara@redhat.com>
CommitterDate: Thu Nov 6 14:16:21 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 15e1f2a..2f2dfe9 100644
--- a/rgmanager/src/resources/vm.sh
+++ b/rgmanager/src/resources/vm.sh
@@ -473,7 +473,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