Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Sep 2017 17:39:21 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r323448 - head/usr.sbin/bsdinstall/scripts
Message-ID:  <201709111739.v8BHdLSZ046858@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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