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

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
 


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

only message in thread, other threads:[~2008-11-06 20:18 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:18 STABLE2 - 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).