Nicer Exit
minecraft-pi-reborn/pipeline/head This commit looks good Details

This commit is contained in:
TheBrokenRail 2021-02-28 15:35:04 -05:00
parent 0bbcf91466
commit 97e7655b12
3 changed files with 4 additions and 3 deletions

View File

@ -21,7 +21,7 @@ RET=$?
set -e
# Kill Logging
kill ${TAIL_PID}
kill ${TAIL_PID} > /dev/null 2>&1 || :
# Exit
exit ${RET}

View File

@ -3,4 +3,4 @@
set -e
# Launch Minecraft
docker-compose -f "${DOCKER_COMPOSE_YML}" run --rm minecraft-pi
exec docker-compose -f "${DOCKER_COMPOSE_YML}" run --rm minecraft-pi

View File

@ -13,6 +13,7 @@ RET=$?
set -e
# Kill VirGL
kill ${VIRGL_PID} > /dev/null 2>&1
kill ${VIRGL_PID} > /dev/null 2>&1 || :
# Exit
exit ${RET}