Skip to content

Commit c6c97de

Browse files
committed
docker: healthcheck: fix dir chk return code
1 parent 2f2322b commit c6c97de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ COPY --chmod=755 <<-'EOF' /usr/bin/ctbcap-healthcheck
8686
[ "${LOG_PATH}" = 0 ] || { # Has FFmpeg process, but directories unwritable --> err
8787
[ ! -w "${LOG_PATH}" ] && { echo "(ERROR) [${LOG_PATH}] is unwritable!"; exit 1; }
8888
}
89+
true
8990
} || { # Has FFmpeg process, but m3u8 URL is unavailable --> err
9091
echo "(ERROR) FFMPEG process did not exit correctly!"
9192
exit 1

0 commit comments

Comments
 (0)