aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-02-17 16:31:05 -0500
committerBill Nottingham <notting@redhat.com>2010-04-09 16:36:20 -0400
commita3e30fe40f147a9718d04e19455b89314de6dd8f (patch)
treead1ffc20aa88e1b48d2e204467cdf59b467e94cf
parent8882e61b286202693891050aa58bd537de757def (diff)
downloadinitscripts-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.
-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 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