Fix opening a shell on the new system (prevent the shell's stderr from

ending up in the install log).
This commit is contained in:
Nathan Whitehorn 2011-06-02 13:57:49 +00:00
parent d15033b3f8
commit 7c8aaa5b71

View File

@ -199,7 +199,7 @@ finalconfig() {
clear
echo This shell is operating in a chroot in the new system. \
When finished making configuration changes, type \"exit\".
chroot "$BSDINSTALL_CHROOT" /bin/sh
chroot "$BSDINSTALL_CHROOT" /bin/sh 2>&1
# Don't hose local rc.conf changes
cp $BSDINSTALL_CHROOT/etc/rc.conf $BSDINSTALL_TMPETC/rc.conf.manual
finalconfig