remove env.

This commit is contained in:
christos 2017-04-13 02:15:36 +00:00
parent 61c284b0f0
commit bb9e7fd375
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: rc.subr,v 1.99 2017/03/21 22:52:10 christos Exp $
# $NetBSD: rc.subr,v 1.100 2017/04/13 02:15:36 christos Exp $
#
# Copyright (c) 1997-2011 The NetBSD Foundation, Inc.
# All rights reserved.
@ -674,14 +674,14 @@ EOF
echo "Starting ${name}."
if [ -n "$_chroot" ]; then
_doit="\
env $_env_clear_rc_vars $_env \
$_env_clear_rc_vars $_env \
${_nice:+nice -n $_nice }\
chroot ${_user:+-u $_user }${_group:+-g $_group }${_groups:+-G $_groups }\
$_chroot $command $rc_flags $command_args"
else
_doit="\
${_chdir:+cd $_chdir; }\
env $_env_clear_rc_vars $_env \
$_env_clear_rc_vars $_env \
${_nice:+nice -n $_nice }\
$command $rc_flags $command_args"
if [ -n "$_user" ]; then