summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordteske <dteske@FreeBSD.org>2013-12-09 01:30:20 +0000
committerdteske <dteske@FreeBSD.org>2013-12-09 01:30:20 +0000
commit743b336f116bfeacfb964595965bb64b6a529223 (patch)
treee253c1c196e52c2a0b2e299d0bc7924defab1e6b
parent3140e829fa4d6a2ccb6300474207d2d45d5ddc3c (diff)
downloadFreeBSD-src-743b336f116bfeacfb964595965bb64b6a529223.zip
FreeBSD-src-743b336f116bfeacfb964595965bb64b6a529223.tar.gz
Fix failed attempt to send pkg(8) stderr to /dev/null
MFC after: 3 days
-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 bb24b53..94b5cfd 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
OpenPOWER on IntegriCloud