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"
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to