summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdconfig/networking/share/ipaddr.subr
diff options
context:
space:
mode:
authordteske <dteske@FreeBSD.org>2012-09-21 19:03:25 +0000
committerdteske <dteske@FreeBSD.org>2012-09-21 19:03:25 +0000
commit5bd90f70aeb197b19ce714af4c1a59070b9dc689 (patch)
treed041ecdde663dcb11b07368b0990746b6b9decd7 /usr.sbin/bsdconfig/networking/share/ipaddr.subr
parentbe9906f96c7ede292408ef02eae1e83ce8646c13 (diff)
downloadFreeBSD-src-5bd90f70aeb197b19ce714af4c1a59070b9dc689.zip
FreeBSD-src-5bd90f70aeb197b19ce714af4c1a59070b9dc689.tar.gz
Reverse SVN r240770 -- jilles@ made a suggestion that allowed us to redesign
our embedded rescue environment to support /dev/null making r240770 obsolete. Reviewed by: jilles, adrian (co-mentor) Approved by: jilles, adrian (co-mentor)
Diffstat (limited to 'usr.sbin/bsdconfig/networking/share/ipaddr.subr')
-rw-r--r--usr.sbin/bsdconfig/networking/share/ipaddr.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdconfig/networking/share/ipaddr.subr b/usr.sbin/bsdconfig/networking/share/ipaddr.subr
index 707e981..7e858dc 100644
--- a/usr.sbin/bsdconfig/networking/share/ipaddr.subr
+++ b/usr.sbin/bsdconfig/networking/share/ipaddr.subr
@@ -47,7 +47,7 @@ f_include_lang $BSDCFG_LIBE/$APP_DIR/include/messages.subr
f_ifconfig_inet()
{
local interface="$1"
- ifconfig "$interface" 2>&- | awk \
+ ifconfig "$interface" 2> /dev/null | awk \
'
BEGIN { found = 0 }
( $1 == "inet" ) \
OpenPOWER on IntegriCloud