aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-02-17 16:31:05 -0500
committerBill Nottingham <notting@redhat.com>2010-03-01 16:03:37 -0500
commit9909d11f0a40b093a2b40e241215436fe71c5fa4 (patch)
tree8f9fad2dba452a9d5f691531406bc9378dc34a22 /sysconfig
parent23e879f6ff48a792095e6bdbbe74dfda2b1c74f2 (diff)
downloadinitscripts-9909d11f0a40b093a2b40e241215436fe71c5fa4.tar
initscripts-9909d11f0a40b093a2b40e241215436fe71c5fa4.tar.gz
initscripts-9909d11f0a40b093a2b40e241215436fe71c5fa4.tar.bz2
initscripts-9909d11f0a40b093a2b40e241215436fe71c5fa4.tar.xz
initscripts-9909d11f0a40b093a2b40e241215436fe71c5fa4.zip
Quote 'name' when passing to get_config_by_name.
Diffstat (limited to 'sysconfig')
-rw-r--r--sysconfig/network-scripts/network-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index 43f37af2..de884ec3 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