Nicer Exit

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
debian/client
common/usr/lib/minecraft-pi
native/usr/lib/minecraft-pi
virgl/usr/lib/minecraft-pi

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

@ -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

@ -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}