svn commit: r259113 - head/usr.sbin/bsdconfig/share

Devin Teske dteske at FreeBSD.org
Mon Dec 9 01:30:21 UTC 2013


Author: dteske
Date: Mon Dec  9 01:30:20 2013
New Revision: 259113
URL: http://svnweb.freebsd.org/changeset/base/259113

Log:
  Fix failed attempt to send pkg(8) stderr to /dev/null
  
  MFC after:	3 days

Modified:
  head/usr.sbin/bsdconfig/share/common.subr

Modified: head/usr.sbin/bsdconfig/share/common.subr
==============================================================================
--- head/usr.sbin/bsdconfig/share/common.subr	Sun Dec  8 23:41:35 2013	(r259112)
+++ head/usr.sbin/bsdconfig/share/common.subr	Mon Dec  9 01:30:20 2013	(r259113)
@@ -64,8 +64,8 @@ export UNAME_M="$( uname -m )" # Machine
 export UNAME_R="$( uname -r )" # Release Level (i.e. X.Y-RELEASE)
 if [ ! "${PKG_ABI+set}" ]; then
 	export PKG_ABI="$(
-		ASSUME_ALWAYS_YES=1 pkg -vv |
-			awk '$1=="ABI"{print $3;exit}' 2> /dev/null
+		ASSUME_ALWAYS_YES=1 pkg -vv 2> /dev/null |
+			awk '$1=="ABI"{print $3;exit}'
 	)"
 fi
 


More information about the svn-src-all mailing list