diff options
author | Bill Nottingham <notting@redhat.com> | 2010-02-17 16:31:05 -0500 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2010-04-09 16:36:20 -0400 |
commit | a3e30fe40f147a9718d04e19455b89314de6dd8f (patch) | |
tree | ad1ffc20aa88e1b48d2e204467cdf59b467e94cf /sysconfig/network-scripts | |
parent | 8882e61b286202693891050aa58bd537de757def (diff) | |
download | initscripts-a3e30fe40f147a9718d04e19455b89314de6dd8f.tar initscripts-a3e30fe40f147a9718d04e19455b89314de6dd8f.tar.gz initscripts-a3e30fe40f147a9718d04e19455b89314de6dd8f.tar.bz2 initscripts-a3e30fe40f147a9718d04e19455b89314de6dd8f.tar.xz initscripts-a3e30fe40f147a9718d04e19455b89314de6dd8f.zip |
Quote 'name' when passing to get_config_by_name.
Diffstat (limited to 'sysconfig/network-scripts')
-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 bb628f13..76ce9fb8 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 |