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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to