[FIX] Фикс скрипта установщика 2

This commit is contained in:
Gravit 2019-03-09 16:42:17 +07:00
parent 2c0a202080
commit d5c7e5ed68
No known key found for this signature in database
GPG key ID: 061981E1E85D3216

View file

@ -2,6 +2,7 @@
import ru.gravit.launchserver.LaunchServer; import ru.gravit.launchserver.LaunchServer;
import ru.gravit.launchserver.command.Command; import ru.gravit.launchserver.command.Command;
import ru.gravit.utils.helper.JVMHelper;
import ru.gravit.utils.helper.LogHelper; import ru.gravit.utils.helper.LogHelper;
public class CheckInstallCommand extends Command { public class CheckInstallCommand extends Command {
@ -22,6 +23,6 @@ public String getUsageDescription() {
@Override @Override
public void invoke(String... args) throws Exception { public void invoke(String... args) throws Exception {
LogHelper.info("Check install success"); LogHelper.info("Check install success");
System.exit(0); JVMHelper.RUNTIME.exit(0);
} }
} }