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
@ -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…
x
Reference in New Issue
Block a user