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