aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/network
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-09-04 01:22:02 +0000
committerBill Nottingham <notting@redhat.com>2003-09-04 01:22:02 +0000
commitc321d9b8c3e29061a89c78eb829522172e7300ef (patch)
treefde5bae0c5ef1170b6a064bb1ceb8dfa5bf79d6a /rc.d/init.d/network
parent025fef872234164ff3d07456e0e627c98be352f2 (diff)
downloadinitscripts-c321d9b8c3e29061a89c78eb829522172e7300ef.tar
initscripts-c321d9b8c3e29061a89c78eb829522172e7300ef.tar.gz
initscripts-c321d9b8c3e29061a89c78eb829522172e7300ef.tar.bz2
initscripts-c321d9b8c3e29061a89c78eb829522172e7300ef.tar.xz
initscripts-c321d9b8c3e29061a89c78eb829522172e7300ef.zip
fix error message on directories with spaces (#86066)
Diffstat (limited to 'rc.d/init.d/network')
-rwxr-xr-xrc.d/init.d/network2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index 333c38d8..eddf168e 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -220,7 +220,7 @@ case "$1" in
echo `/sbin/ip -o link show | awk -F ": " '/UP>/ { print $2 }'`
;;
restart|reload)
- cd $CWD
+ cd "$CWD"
$0 stop
$0 start
;;