We no longer need to append entries to logfile

Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
This commit is contained in:
Maciej "Iwan" Iwanowski 2020-04-15 08:31:40 +02:00
parent d991727c10
commit 396c32a3b6
No known key found for this signature in database
GPG Key ID: 2484258A4DD3EE84

View File

@ -26,7 +26,7 @@ printf "" # Refresh sudo credentials if necessary.
function start {
set +e # We want to handle errors if cAdvisor crashes.
echo ">> starting cAdvisor locally"
GORACE="halt_on_error=1" ./cadvisor --docker_env_metadata_whitelist=TEST_VAR --v=6 --logtostderr $CADVISOR_ARGS &>> "$log_file"
GORACE="halt_on_error=1" ./cadvisor --docker_env_metadata_whitelist=TEST_VAR --v=6 --logtostderr $CADVISOR_ARGS &> "$log_file"
if [ $? != 0 ]; then
echo "!! cAdvisor exited unexpectedly with Exit $?"
kill $TEST_PID # cAdvisor crashed: abort testing.