summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2011-08-21 18:49:28 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2011-08-21 18:49:28 +0000
commit9b36451565e16c3c6c48a8e126e44510d6f925f1 (patch)
tree251cdc38c9aab24e8041cf8afacdc2947c0c24f1 /usr.sbin
parenta5ccee99f762eeb025ed186ef72c8cf32515896c (diff)
downloadFreeBSD-src-9b36451565e16c3c6c48a8e126e44510d6f925f1.zip
FreeBSD-src-9b36451565e16c3c6c48a8e126e44510d6f925f1.tar.gz
Make messages about typos appear on the screen instead of in the log file.
Reported by: lev Approved by: re (kib)
Diffstat (limited to 'usr.sbin')
-rwxr-xr-xusr.sbin/bsdinstall/scripts/adduser2
-rwxr-xr-xusr.sbin/bsdinstall/scripts/rootpass2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bsdinstall/scripts/adduser b/usr.sbin/bsdinstall/scripts/adduser
index 35c50ed..456f76b 100755
--- a/usr.sbin/bsdinstall/scripts/adduser
+++ b/usr.sbin/bsdinstall/scripts/adduser
@@ -31,4 +31,4 @@ echo "FreeBSD Installer"
echo "========================"
echo "Add Users"
echo
-chroot $BSDINSTALL_CHROOT adduser
+chroot $BSDINSTALL_CHROOT adduser 2>&1
diff --git a/usr.sbin/bsdinstall/scripts/rootpass b/usr.sbin/bsdinstall/scripts/rootpass
index b7177fc..b3dde22 100755
--- a/usr.sbin/bsdinstall/scripts/rootpass
+++ b/usr.sbin/bsdinstall/scripts/rootpass
@@ -33,5 +33,5 @@ echo
echo "Please select a password for the system management account (root):"
-chroot $BSDINSTALL_CHROOT passwd root
+chroot $BSDINSTALL_CHROOT passwd root 2>&1
OpenPOWER on IntegriCloud