Author: nwhitehorn
Date: Tue Apr 5 03:09:44 2011
New Revision: 220350
URL: http://svn.freebsd.org/changeset/base/220350
Log:
Improve logging by always sending stderr to the installation log file.
Reduce warnings by making sure the temporary etc directory exists.
Modified:
head/usr.sbin/bsdinstall/bsdinstall
Modified: head/usr.sbin/bsdinstall/bsdinstall
==============================================================================
--- head/usr.sbin/bsdinstall/bsdinstall Tue Apr 5 01:51:30 2011
(r220349)
+++ head/usr.sbin/bsdinstall/bsdinstall Tue Apr 5 03:09:44 2011
(r220350)
@@ -38,5 +38,7 @@ if [ -z $VERB ]; then
VERB=auto
fi
-exec /usr/libexec/bsdinstall/$VERB $@
+test -d "$BSDINSTALL_TMPETC" || mkdir "$BSDINSTALL_TMPETC"
+echo Running installation step: $VERB $@ >> "$BSDINSTALL_LOG"
+exec /usr/libexec/bsdinstall/$VERB $@ 2>>"$BSDINSTALL_LOG"
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"