Nicer Exit
This commit is contained in:
parent
0bbcf91466
commit
97e7655b12
@ -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}
|
Loading…
Reference in New Issue
Block a user