svn commit: r222607 - head/usr.sbin/bsdinstall/scripts
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Thu Jun 2 13:57:50 UTC 2011
Author: nwhitehorn
Date: Thu Jun 2 13:57:49 2011
New Revision: 222607
URL: http://svn.freebsd.org/changeset/base/222607
Log:
Fix opening a shell on the new system (prevent the shell's stderr from
ending up in the install log).
Modified:
head/usr.sbin/bsdinstall/scripts/auto
Modified: head/usr.sbin/bsdinstall/scripts/auto
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/auto Thu Jun 2 13:57:10 2011 (r222606)
+++ head/usr.sbin/bsdinstall/scripts/auto Thu Jun 2 13:57:49 2011 (r222607)
@@ -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
More information about the svn-src-head
mailing list