Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc remove env.



details:   https://anonhg.NetBSD.org/src/rev/1b0c079c3f31
branches:  trunk
changeset: 823114:1b0c079c3f31
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Apr 13 02:15:36 2017 +0000

description:
remove env.

diffstat:

 etc/rc.subr |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r a30c6d8f3fc0 -r 1b0c079c3f31 etc/rc.subr
--- a/etc/rc.subr       Thu Apr 13 01:32:57 2017 +0000
+++ b/etc/rc.subr       Thu Apr 13 02:15:36 2017 +0000
@@ -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 @@
                        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



Home | Main Index | Thread Index | Old Index