commit | baa8b42af8d128d145d7a0d2b100bf8577007145 | [log] [tgz] |
---|---|---|
author | Dean Troyer <dtroyer@gmail.com> | Mon Sep 24 15:02:05 2012 -0500 |
committer | Dean Troyer <dtroyer@gmail.com> | Mon Sep 24 15:02:09 2012 -0500 |
tree | 37352fae7fcaa9031383325353eff0b2653e2298 | |
parent | 9dce274dac1a68074b61bfe392b3c55e186bb7dd [diff] |
Fix logfile output getting stomped The LOGFILE would get stomped due to a non-appending tee command. Change-Id: I851ee83171c27fc425c0d666fcf84437f0d118b2
diff --git a/stack.sh b/stack.sh index 545c071..4dfa9aa 100755 --- a/stack.sh +++ b/stack.sh
@@ -2287,7 +2287,7 @@ 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