diff options
author | Bill Nottingham <notting@redhat.com> | 2010-02-17 16:31:05 -0500 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2010-03-01 16:03:37 -0500 |
commit | 9909d11f0a40b093a2b40e241215436fe71c5fa4 (patch) | |
tree | 8f9fad2dba452a9d5f691531406bc9378dc34a22 /sysconfig | |
parent | 23e879f6ff48a792095e6bdbbe74dfda2b1c74f2 (diff) | |
download | initscripts-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-functions | 2 |
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 |