chore(client): add wait for minetest process
Adding a wait statement for the termination of the Minetest process to ensure proper clean-up and graceful exit handling in the client's entrypoint script.
This commit is contained in:
parent
269f250802
commit
3507711d04
@ -44,3 +44,5 @@ function finish {
|
|||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
trap finish EXIT TERM INT QUIT
|
trap finish EXIT TERM INT QUIT
|
||||||
|
|
||||||
|
wait $minetest_pid
|
||||||
|
Loading…
x
Reference in New Issue
Block a user