Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Apr 2011 03:09:44 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r220350 - head/usr.sbin/bsdinstall
Message-ID:  <201104050309.p3539i4u003684@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104050309.p3539i4u003684>