Improve logging by always sending stderr to the installation log file.
Reduce warnings by making sure the temporary etc directory exists.
This commit is contained in:
parent
57af65d401
commit
786d77f45c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=220350
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user