Browse code

Fix logfile output getting stomped

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

Change-Id: I851ee83171c27fc425c0d666fcf84437f0d118b2

Dean Troyer authored on 2012/09/25 05:02:05
Showing 1 changed files
... ...
@@ -2287,7 +2287,7 @@ set +o xtrace
2287 2287
 if [[ -n "$LOGFILE" ]]; then
2288 2288
     exec 1>&3
2289 2289
     # Force all output to stdout and logs now
2290
-    exec 1> >( tee "${LOGFILE}" ) 2>&1
2290
+    exec 1> >( tee -a "${LOGFILE}" ) 2>&1
2291 2291
 else
2292 2292
     # Force all output to stdout now
2293 2293
     exec 1>&3