diff --git a/SpigotCore/SpigotCore_Main/src/de/steamwar/core/CheckpointUtilsJ9.java b/SpigotCore/SpigotCore_Main/src/de/steamwar/core/CheckpointUtilsJ9.java index 70df82a0..84f354f4 100644 --- a/SpigotCore/SpigotCore_Main/src/de/steamwar/core/CheckpointUtilsJ9.java +++ b/SpigotCore/SpigotCore_Main/src/de/steamwar/core/CheckpointUtilsJ9.java @@ -49,7 +49,7 @@ class CheckpointUtilsJ9 { static void freeze() { String checkpointFile = System.getProperty("checkpoint"); - if(!CRIUSupport.isCheckpointAllowed() || checkpointFile == null) { + if(!CRIUSupport.isCheckpointAllowed() || checkpointFile == null || true) { Bukkit.shutdown(); return; } @@ -120,9 +120,10 @@ class CheckpointUtilsJ9 { criu.checkpointJVM(); } catch (JVMCRIUException e) { Path logfile = path.resolve("criu.log"); - System.out.println(logfile.toAbsolutePath().toString()); - if(logfile.toFile().exists()) + if(logfile.toFile().exists()) { + System.out.println("Reading criu log"); throw new IllegalStateException("Could not create checkpoint, criu log:\n" + new String(Files.readAllBytes(logfile)), e); + } throw e; }