Index: rc.d/init.d/functions
===================================================================
RCS file: /home/cvs/cvsroot/initscripts/rc.d/init.d/functions,v
retrieving revision 1.26
diff -u -r1.26 functions
--- rc.d/init.d/functions	15 Apr 2002 13:50:43 -0000	1.26
+++ rc.d/init.d/functions	8 Dec 2002 13:59:48 -0000
@@ -177,9 +177,9 @@
 
 	# And start it up.
 	if [ -z "$daemon_user" ]; then
-		nice -n $nicelevel initlog $INITLOG_ARGS -c "$*$bg"
+		nice -n $nicelevel initlog $INITLOG_ARGS -n "$base" -c "sh -c '$*$bg'"
 	else
-		nice -n $nicelevel initlog $INITLOG_ARGS -n "$base" -c "su -s /bin/sh -l $daemon_user -c \"$*$bg\""
+		nice -n $nicelevel initlog $INITLOG_ARGS -n "$base" -c "su -s /bin/sh -l $daemon_user -c '$*$bg'"
 	fi
 	[ $? = 0 ] && success "$base startup" || failure "$base startup"
 }
