svn commit: r223292 - head/etc
Jilles Tjoelker
jilles at FreeBSD.org
Sun Jun 19 11:42:49 UTC 2011
Author: jilles
Date: Sun Jun 19 11:42:48 2011
New Revision: 223292
URL: http://svn.freebsd.org/changeset/base/223292
Log:
rc.subr: Eliminate a fork from check_kern_features, like r223227.
MFC after: 2 weeks
Modified:
head/etc/rc.subr
Modified: head/etc/rc.subr
==============================================================================
--- head/etc/rc.subr Sun Jun 19 11:14:02 2011 (r223291)
+++ head/etc/rc.subr Sun Jun 19 11:42:48 2011 (r223292)
@@ -1744,7 +1744,7 @@ check_kern_features()
local _v
[ -n "$1" ] || return 1;
- _v=`eval echo "\\$_rc_cache_kern_features_$1"`
+ eval _v=\$_rc_cache_kern_features_$1
[ -n "$_v" ] && return "$_v";
if ${SYSCTL_N} kern.features.$1 > /dev/null 2>&1; then
More information about the svn-src-all
mailing list