svn commit: r259469 - head/usr.sbin/bsdinstall/scripts

Devin Teske dteske at FreeBSD.org
Mon Dec 16 15:52:45 UTC 2013


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


More information about the svn-src-head mailing list