Skip and echo out gzip log compression error

Sometimes gzip log collection will fail because certain linked
log file are missing. This change notice those error and let the
test pass

Change-Id: I0720460dba3ec959429b577017713e1d5a209337
This commit is contained in:
tonytan4ever 2018-01-02 12:25:01 -05:00
parent 4bb840d2de
commit 6c800b5170
1 changed files with 1 additions and 1 deletions

View File

@ -205,6 +205,6 @@ done
# Compress the files gathered so that they do not take up too much space.
# We use 'command' to ensure that we're not executing with some sort of alias.
command gzip --force --best --recursive "${WORKING_DIR}/logs/"
command gzip --force --best --recursive "${WORKING_DIR}/logs/" || echo 'Note: gzip log files failed'
echo "#### END LOG COLLECTION ###"