From 3507711d040b6c29adefb0aeba9dca1a6f40f43c Mon Sep 17 00:00:00 2001 From: Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com> Date: Tue, 1 Oct 2024 02:05:14 +0200 Subject: [PATCH] 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. --- client/entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/entrypoint.sh b/client/entrypoint.sh index 4112cd7..6de8fc7 100644 --- a/client/entrypoint.sh +++ b/client/entrypoint.sh @@ -44,3 +44,5 @@ function finish { exit 0 } trap finish EXIT TERM INT QUIT + +wait $minetest_pid