From 00f300a6e98bc9b237521052cec41dcf8c49d3f8 Mon Sep 17 00:00:00 2001 From: emaste Date: Thu, 14 Sep 2017 01:24:17 +0000 Subject: [PATCH] MFC r323448: bsdinstall: 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. Approved by: re (gjb) Sponsored by: The FreeBSD Foundation git-svn-id: svn://svn.freebsd.org/base/stable/10@323571 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- usr.sbin/bsdinstall/scripts/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/bsdinstall/scripts/config b/usr.sbin/bsdinstall/scripts/config index ebb1dffe5..01ce68d3f 100755 --- a/usr.sbin/bsdinstall/scripts/config +++ b/usr.sbin/bsdinstall/scripts/config @@ -45,7 +45,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 -- 2.42.0