*************** *** 2,8 **** # # $NetBSD: security,v 1.83 2003/02/21 22:47:51 jhawk Exp $ # from: @(#)security 8.1 (Berkeley) 6/9/93 - # $Id: security,v 1.3 2003/10/04 06:28:16 jhawk Exp $ # PATH=/sbin:/usr/sbin:/bin:/usr/bin --- 2,8 ---- # # $NetBSD: security,v 1.83 2003/02/21 22:47:51 jhawk Exp $ # from: @(#)security 8.1 (Berkeley) 6/9/93 + # $Id: security,v 1.4 2003/10/18 04:38:16 jhawk Exp $ # PATH=/sbin:/usr/sbin:/bin:/usr/bin *************** *** 750,756 **** # the mtree(8) manual page. # if checkyesno check_mtree; then - mtree -e -l -p / -f /etc/mtree/special > $OUTPUT if [ -s $OUTPUT ]; then printf "\nChecking special files and directories.\n" cat $OUTPUT --- 750,757 ---- # the mtree(8) manual page. # if checkyesno check_mtree; then + mtree -e -l -p / -f /etc/mtree/special 3>&1 >$OUTPUT 2>&3 | + grep -v '^mtree: dev/tty: Device not configured$' >&2 if [ -s $OUTPUT ]; then printf "\nChecking special files and directories.\n" cat $OUTPUT