summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2017-09-14 01:24:17 +0000
committeremaste <emaste@FreeBSD.org>2017-09-14 01:24:17 +0000
commitdc53c56e788423398db9621a903b60d10d041e6c (patch)
tree1c0e74fb9d26679bb322ca8eea846e747c243513
parent091ab167db6224b84b2d54429af2cda410ca821d (diff)
downloadFreeBSD-src-dc53c56e788423398db9621a903b60d10d041e6c.zip
FreeBSD-src-dc53c56e788423398db9621a903b60d10d041e6c.tar.gz
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
-rwxr-xr-xusr.sbin/bsdinstall/scripts/config2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdinstall/scripts/config b/usr.sbin/bsdinstall/scripts/config
index ebb1dff..01ce68d 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
OpenPOWER on IntegriCloud