public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* master - BZ 453429: Fix conditional check of $OCF_RESKEY_migration_mapping
@ 2008-11-06 20:19 Ryan O'Hara
  0 siblings, 0 replies; only message in thread
From: Ryan O'Hara @ 2008-11-06 20:19 UTC (permalink / raw)
  To: cluster-cvs-relay

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
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-06 20:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-06 20:19 master - BZ 453429: Fix conditional check of $OCF_RESKEY_migration_mapping Ryan O'Hara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).