aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bsdconfig
diff options
context:
space:
mode:
authorDevin Teske <dteske@FreeBSD.org>2013-12-09 01:30:20 +0000
committerDevin Teske <dteske@FreeBSD.org>2013-12-09 01:30:20 +0000
commit59d9c9e1c6c71bd9fb1e692aa371d3d8e0fbcbf7 (patch)
treee253c1c196e52c2a0b2e299d0bc7924defab1e6b /usr.sbin/bsdconfig
parent8b3d3bafec54808d910ec69d03e654b0cd2bf07f (diff)
downloadsrc-59d9c9e1c6c71bd9fb1e692aa371d3d8e0fbcbf7.tar.gz
src-59d9c9e1c6c71bd9fb1e692aa371d3d8e0fbcbf7.zip
Fix failed attempt to send pkg(8) stderr to /dev/null
MFC after: 3 days
Notes
Notes: svn path=/head/; revision=259113
Diffstat (limited to 'usr.sbin/bsdconfig')
-rw-r--r--usr.sbin/bsdconfig/share/common.subr4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bsdconfig/share/common.subr b/usr.sbin/bsdconfig/share/common.subr
index bb24b531e3b0..94b5cfdb8a73 100644
--- a/usr.sbin/bsdconfig/share/common.subr
+++ b/usr.sbin/bsdconfig/share/common.subr
@@ -64,8 +64,8 @@ export UNAME_M="$( uname -m )" # Machine platform (i.e. i386)
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