aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-09-04 01:21:53 +0000
committerBill Nottingham <notting@redhat.com>2003-09-04 01:21:53 +0000
commit4296a0c54c6628e0fe445f089ff73e6cd1725e81 (patch)
tree69a6bd07326bdad94a26fa2caa79189450d5bdd5 /rc.d
parentb37c82669bdba4874e4c2b4d5a74ae20c4cdb6f8 (diff)
downloadinitscripts-4296a0c54c6628e0fe445f089ff73e6cd1725e81.tar
initscripts-4296a0c54c6628e0fe445f089ff73e6cd1725e81.tar.gz
initscripts-4296a0c54c6628e0fe445f089ff73e6cd1725e81.tar.bz2
initscripts-4296a0c54c6628e0fe445f089ff73e6cd1725e81.tar.xz
initscripts-4296a0c54c6628e0fe445f089ff73e6cd1725e81.zip
fix error message on directories with spaces (#86066)
Diffstat (limited to 'rc.d')
-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
;;