[prev in list] [next in list] [prev in thread] [next in thread] 

List:       initscripts-devel
Subject:    [PATCH 11/11] Quote 'name' when passing to get_config_by_name.
From:       notting () redhat ! com (Bill Nottingham)
Date:       2010-02-17 21:44:42
Message-ID: 1266443082-16676-12-git-send-email-notting () redhat ! com
[Download RAW message or body]


Signed-off-by: Bill Nottingham <notting at redhat.com>
---
 sysconfig/network-scripts/network-functions |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index 43f37af..de884ec 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -62,7 +62,7 @@ need_config ()
     [ -f "${CONFIG}" ] && return
     CONFIG="${1##*/}"
     [ -f "${CONFIG}" ] && return
-    nconfig=$(get_config_by_name ${1})
+    nconfig=$(get_config_by_name "${1}")
     if [ -n "$nconfig" ] && [ -f "$nconfig" ]; then
       CONFIG=${nconfig##*/}
       return
-- 
1.6.6


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic