summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authordteske <dteske@FreeBSD.org>2013-12-16 15:52:44 +0000
committerdteske <dteske@FreeBSD.org>2013-12-16 15:52:44 +0000
commit20ef786e2b35d1ab82a867dc8ce9bdb4a618e5aa (patch)
treee90e6bf069d6bce02d9c6ad9a3c1128210fdd0b6 /usr.sbin
parentf6443b03f1c5d76c25b2f36f0e610095df82c966 (diff)
downloadFreeBSD-src-20ef786e2b35d1ab82a867dc8ce9bdb4a618e5aa.zip
FreeBSD-src-20ef786e2b35d1ab82a867dc8ce9bdb4a618e5aa.tar.gz
Mask error from newaliases(1) when the hostname is not fully qualified.
MFC after: 3 days
Diffstat (limited to 'usr.sbin')
-rwxr-xr-xusr.sbin/bsdinstall/scripts/config2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdinstall/scripts/config b/usr.sbin/bsdinstall/scripts/config
index 3ddcada..98baade 100755
--- a/usr.sbin/bsdinstall/scripts/config
+++ b/usr.sbin/bsdinstall/scripts/config
@@ -42,7 +42,7 @@ cp $BSDINSTALL_TMPBOOT/* $BSDINSTALL_CHROOT/boot
[ "${debugFile#+}" ] && cp "${debugFile#+}" $BSDINSTALL_CHROOT/var/log/
# Set up other things from installed config
-chroot $BSDINSTALL_CHROOT /usr/bin/newaliases
+chroot $BSDINSTALL_CHROOT /usr/bin/newaliases > /dev/null 2>&1
################################################################################
# END
OpenPOWER on IntegriCloud