Page MenuHomeFreeBSD

D8232.diff
No OneTemporary

D8232.diff

Index: etc/rc.subr
===================================================================
--- etc/rc.subr
+++ etc/rc.subr
@@ -1045,6 +1045,7 @@
#
check_startmsgs && echo "Starting ${name}."
if [ -n "$_chroot" ]; then
+ _cd=
_doit="\
${_nice:+nice -n $_nice }\
${_fib:+setfib -F $_fib }\
@@ -1052,8 +1053,8 @@
chroot ${_user:+-u $_user }${_group:+-g $_group }${_groups:+-G $_groups }\
$_chroot $command $rc_flags $command_args"
else
+ _cd="${_chdir:+cd $_chdir && }"
_doit="\
-${_chdir:+cd $_chdir && }\
${_fib:+setfib -F $_fib }\
${_env:+env $_env }\
$command $rc_flags $command_args"
@@ -1072,7 +1073,7 @@
fi
# Prepend default limits
- _doit="limits -C $_login_class $_doit"
+ _doit="$_cd limits -C $_login_class $_doit"
# run the full command
#

File Metadata

Mime Type
text/plain
Expires
Sun, Oct 19, 10:11 PM (5 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23944291
Default Alt Text
D8232.diff (815 B)

Event Timeline