diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2011-04-05 03:09:44 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2011-04-05 03:09:44 +0000 |
commit | bf61104672c63d4afdc1c9f86a9701bfa502657f (patch) | |
tree | d460a4f63a42eaa19627c26d88b09c119d5ada88 /usr.sbin/bsdinstall | |
parent | 9ce8e5e965cc84f57a07513a707a7ba96fdb681f (diff) | |
download | FreeBSD-src-bf61104672c63d4afdc1c9f86a9701bfa502657f.zip FreeBSD-src-bf61104672c63d4afdc1c9f86a9701bfa502657f.tar.gz |
Improve logging by always sending stderr to the installation log file.
Reduce warnings by making sure the temporary etc directory exists.
Diffstat (limited to 'usr.sbin/bsdinstall')
-rwxr-xr-x | usr.sbin/bsdinstall/bsdinstall | 4 |
1 files changed, 3 insertions, 1 deletions
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" |