View | Details | Raw Unified | Return to bug 212493 | Differences between
and this patch

Collapse All | Expand All

(-)etc/rc.subr (-2 / +3 lines)
Lines 1045-1050 Link Here
1045
					#
1045
					#
1046
			check_startmsgs && echo "Starting ${name}."
1046
			check_startmsgs && echo "Starting ${name}."
1047
			if [ -n "$_chroot" ]; then
1047
			if [ -n "$_chroot" ]; then
1048
				_docd=""
1048
				_doit="\
1049
				_doit="\
1049
${_nice:+nice -n $_nice }\
1050
${_nice:+nice -n $_nice }\
1050
${_fib:+setfib -F $_fib }\
1051
${_fib:+setfib -F $_fib }\
Lines 1052-1059 Link Here
1052
chroot ${_user:+-u $_user }${_group:+-g $_group }${_groups:+-G $_groups }\
1053
chroot ${_user:+-u $_user }${_group:+-g $_group }${_groups:+-G $_groups }\
1053
$_chroot $command $rc_flags $command_args"
1054
$_chroot $command $rc_flags $command_args"
1054
			else
1055
			else
1056
				_docd="${_chdir:+cd $_chdir && }"
1055
				_doit="\
1057
				_doit="\
1056
${_chdir:+cd $_chdir && }\
1057
${_fib:+setfib -F $_fib }\
1058
${_fib:+setfib -F $_fib }\
1058
${_env:+env $_env }\
1059
${_env:+env $_env }\
1059
$command $rc_flags $command_args"
1060
$command $rc_flags $command_args"
Lines 1072-1078 Link Here
1072
			fi
1073
			fi
1073
1074
1074
					# Prepend default limits
1075
					# Prepend default limits
1075
			_doit="limits -C $_login_class $_doit"
1076
			_doit="$_docd limits -C $_login_class $_doit"
1076
1077
1077
					# run the full command
1078
					# run the full command
1078
					#
1079
					#

Return to bug 212493