Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Dec 2013 01:30:20 +0000 (UTC)
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r259113 - head/usr.sbin/bsdconfig/share
Message-ID:  <201312090130.rB91UK5L045152@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312090130.rB91UK5L045152>