Skip to content

Commit 7d99f9d

Browse files
bartlett-opsAlex Suraci
andauthored
Update assets/common.sh
Co-authored-by: Alex Suraci <[email protected]>
1 parent 68f3526 commit 7d99f9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ start_docker() {
9494
trap stop_docker EXIT
9595

9696
if ! timeout ${STARTUP_TIMEOUT} bash -ce 'while true; do try_start && break; done'; then
97-
cat "${LOG_FILE}"
97+
[ -f "$LOG_FILE" ] && cat "${LOG_FILE}"
9898
echo Docker failed to start within ${STARTUP_TIMEOUT} seconds.
9999
return 1
100100
fi

0 commit comments

Comments
 (0)