diff options
author | dteske <dteske@FreeBSD.org> | 2012-09-21 19:03:25 +0000 |
---|---|---|
committer | dteske <dteske@FreeBSD.org> | 2012-09-21 19:03:25 +0000 |
commit | 5bd90f70aeb197b19ce714af4c1a59070b9dc689 (patch) | |
tree | d041ecdde663dcb11b07368b0990746b6b9decd7 /usr.sbin/bsdconfig/networking/share/ipaddr.subr | |
parent | be9906f96c7ede292408ef02eae1e83ce8646c13 (diff) | |
download | FreeBSD-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.subr | 2 |
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" ) \ |