Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Dec 2013 15:52:45 +0000 (UTC)
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r259469 - head/usr.sbin/bsdinstall/scripts
Message-ID:  <201312161552.rBGFqjrO001578@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dteske
Date: Mon Dec 16 15:52:44 2013
New Revision: 259469
URL: http://svnweb.freebsd.org/changeset/base/259469

Log:
  Mask error from newaliases(1) when the hostname is not fully qualified.
  
  MFC after:	3 days

Modified:
  head/usr.sbin/bsdinstall/scripts/config

Modified: head/usr.sbin/bsdinstall/scripts/config
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/config	Mon Dec 16 15:50:59 2013	(r259468)
+++ head/usr.sbin/bsdinstall/scripts/config	Mon Dec 16 15:52:44 2013	(r259469)
@@ -42,7 +42,7 @@ cp $BSDINSTALL_TMPBOOT/* $BSDINSTALL_CHR
 [ "${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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312161552.rBGFqjrO001578>