From 4296a0c54c6628e0fe445f089ff73e6cd1725e81 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 4 Sep 2003 01:21:53 +0000 Subject: fix error message on directories with spaces (#86066) --- rc.d/init.d/network | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc.d') 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 ;; -- cgit v1.2.1