summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2017-09-14 00:35:27 +0000
committeremaste <emaste@FreeBSD.org>2017-09-14 00:35:27 +0000
commitddac6973f64bbe6667604927b2a0eb87e597c556 (patch)
tree5ed9a12cdced7e722a2e9b59e4d3c61c0ac2af57
parent3659bb6ca318a1ec3c5f2cee3da2047bbed38c21 (diff)
downloadFreeBSD-src-ddac6973f64bbe6667604927b2a0eb87e597c556.zip
FreeBSD-src-ddac6973f64bbe6667604927b2a0eb87e597c556.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. 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 90ee257..c86a381 100755
--- a/usr.sbin/bsdinstall/scripts/config
+++ b/usr.sbin/bsdinstall/scripts/config
@@ -48,7 +48,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