Nicer Exit
This commit is contained in:
parent
0bbcf91466
commit
97e7655b12
@ -21,7 +21,7 @@ RET=$?
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Kill Logging
|
# Kill Logging
|
||||||
kill ${TAIL_PID}
|
kill ${TAIL_PID} > /dev/null 2>&1 || :
|
||||||
|
|
||||||
# Exit
|
# Exit
|
||||||
exit ${RET}
|
exit ${RET}
|
@ -3,4 +3,4 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Launch Minecraft
|
# 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
|
set -e
|
||||||
|
|
||||||
# Kill VirGL
|
# Kill VirGL
|
||||||
kill ${VIRGL_PID} > /dev/null 2>&1
|
kill ${VIRGL_PID} > /dev/null 2>&1 || :
|
||||||
|
|
||||||
|
# Exit
|
||||||
exit ${RET}
|
exit ${RET}
|
Loading…
Reference in New Issue
Block a user