From 7c8aaa5b71d5615c6dea443c36e35eb6d78d91aa Mon Sep 17 00:00:00 2001 From: Nathan Whitehorn Date: Thu, 2 Jun 2011 13:57:49 +0000 Subject: [PATCH] Fix opening a shell on the new system (prevent the shell's stderr from ending up in the install log). --- usr.sbin/bsdinstall/scripts/auto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/bsdinstall/scripts/auto b/usr.sbin/bsdinstall/scripts/auto index 6a0e9b50add8..bdc5fc4d2f27 100755 --- a/usr.sbin/bsdinstall/scripts/auto +++ b/usr.sbin/bsdinstall/scripts/auto @@ -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