diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2011-06-02 13:57:49 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2011-06-02 13:57:49 +0000 |
commit | 575b3fb0289ea04f267b20db4d8960b2888bc4ff (patch) | |
tree | 0296b419a2250de1c2817da66dba058279551786 /usr.sbin | |
parent | eb839461eb03a7ae7c9565b5015ba0f28592c23b (diff) | |
download | FreeBSD-src-575b3fb0289ea04f267b20db4d8960b2888bc4ff.zip FreeBSD-src-575b3fb0289ea04f267b20db4d8960b2888bc4ff.tar.gz |
Fix opening a shell on the new system (prevent the shell's stderr from
ending up in the install log).
Diffstat (limited to 'usr.sbin')
-rwxr-xr-x | usr.sbin/bsdinstall/scripts/auto | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdinstall/scripts/auto b/usr.sbin/bsdinstall/scripts/auto index 6a0e9b5..bdc5fc4 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 |