Fix server transfer failure after checkpoint restoration

This commit is contained in:
Lixfel
2025-01-03 12:55:59 +01:00
parent 856c79661b
commit a3490b801e
@@ -220,6 +220,7 @@ public class Subserver {
try {
if (checkpoint) {
start(process.getErrorStream(), line -> line.contains("Restore finished successfully."));
Thread.sleep(300); //Wait for port to be reopened
} else {
start(process.getInputStream(), line -> {
if (line.contains("Loading libraries, please wait"))