Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jun 2011 13:57:50 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r222607 - head/usr.sbin/bsdinstall/scripts
Message-ID:  <201106021357.p52DvoE0020037@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106021357.p52DvoE0020037>