Fix logfile output getting stomped

The LOGFILE would get stomped due to a non-appending tee command.

Change-Id: I851ee83171c27fc425c0d666fcf84437f0d118b2
This commit is contained in:
Dean Troyer 2012-09-24 15:02:05 -05:00
parent 9dce274dac
commit baa8b42af8

@ -2287,7 +2287,7 @@ set +o xtrace
if [[ -n "$LOGFILE" ]]; then
exec 1>&3
# Force all output to stdout and logs now
exec 1> >( tee "${LOGFILE}" ) 2>&1
exec 1> >( tee -a "${LOGFILE}" ) 2>&1
else
# Force all output to stdout now
exec 1>&3