From baa8b42af8d128d145d7a0d2b100bf8577007145 Mon Sep 17 00:00:00 2001 From: Dean Troyer Date: Mon, 24 Sep 2012 15:02:05 -0500 Subject: [PATCH] Fix logfile output getting stomped The LOGFILE would get stomped due to a non-appending tee command. Change-Id: I851ee83171c27fc425c0d666fcf84437f0d118b2 --- stack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack.sh b/stack.sh index 545c07143d..4dfa9aa307 100755 --- a/stack.sh +++ b/stack.sh @@ -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