From 98a665b0dc78b06fe2cb718f02a7dfbdf71b1591 Mon Sep 17 00:00:00 2001 From: casjay Date: Sat, 10 Sep 2022 12:31:07 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/entrypoint-music.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/bin/entrypoint-music.sh b/bin/entrypoint-music.sh index c2c976a..0e09790 100755 --- a/bin/entrypoint-music.sh +++ b/bin/entrypoint-music.sh @@ -122,9 +122,11 @@ case "$1" in ;; healthcheck) # Docker healthcheck - pgrep mpd &>/dev/null && - pgrep navidrome &>/dev/null - exit $? + if pgrep mpd &>/dev/null && pgrep navidrome &>/dev/null; then + exit 0 + else + exit 1 + fi ;; */bin/sh | */bin/bash | bash | shell | sh) # Launch shell