Explorar o código

Also catch INT (That's docker run -it ^C).

Steve Thielemann %!s(int64=7) %!d(string=hai) anos
pai
achega
3223b9ddd9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      mc-java/launch.sh

+ 1 - 1
mc-java/launch.sh

@@ -76,7 +76,7 @@ save_shutdown() {
 }
 
 # Ok, trap TERM
-trap save_shutdown TERM
+trap save_shutdown TERM INT
 echo "Waiting for Minecraft ($MC_PID)..."
 wait $MC_PID