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

Ed Maste emaste at FreeBSD.org
Mon Sep 11 17:39:22 UTC 2017


Author: emaste
Date: Mon Sep 11 17:39:21 2017
New Revision: 323448
URL: https://svnweb.freebsd.org/changeset/base/323448

Log:
  Ignore error return from newaliases(1)
  
  This was originally added as "exit $SUCCESS" but with nothing to set the
  SUCCESS variable. Thus it became an exit with no argument, which just
  exits with the status of the preceding command.
  
  MFC after:	3 days
  Sponsored by:	The FreeBSD Foundation

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

Modified: head/usr.sbin/bsdinstall/scripts/config
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/config	Mon Sep 11 17:32:26 2017	(r323447)
+++ head/usr.sbin/bsdinstall/scripts/config	Mon Sep 11 17:39:21 2017	(r323448)
@@ -53,7 +53,7 @@ cp $BSDINSTALL_TMPBOOT/* $BSDINSTALL_CHROOT/boot
 # Set up other things from installed config
 chroot $BSDINSTALL_CHROOT /usr/bin/newaliases > /dev/null 2>&1
 
-exit $SUCCESS
+exit 0
 
 ################################################################################
 # END


More information about the svn-src-head mailing list