From bf61104672c63d4afdc1c9f86a9701bfa502657f Mon Sep 17 00:00:00 2001 From: nwhitehorn Date: Tue, 5 Apr 2011 03:09:44 +0000 Subject: Improve logging by always sending stderr to the installation log file. Reduce warnings by making sure the temporary etc directory exists. --- usr.sbin/bsdinstall/bsdinstall | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/usr.sbin/bsdinstall/bsdinstall b/usr.sbin/bsdinstall/bsdinstall index 04223d0..236dbac 100755 --- a/usr.sbin/bsdinstall/bsdinstall +++ b/usr.sbin/bsdinstall/bsdinstall @@ -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" -- cgit v1.1