another installer build fix

This commit is contained in:
zzz
2015-11-14 13:22:35 +00:00
parent f5ae9c23fe
commit 99c9b30e49

View File

@@ -1,6 +1,7 @@
package net.i2p.installer;
import java.io.File;
import java.io.IOException;
/**
* <p>This class can be used by the installer to execute shell commands.</p>
@@ -20,7 +21,8 @@ public class Exec {
// http://cephas.net/blog/2004/03/23/external_applications_javas_runtimeexec.html
try { proc.exitValue(); } catch (Throwable t) { }
Runtime.getRuntime().halt(0);
} catch (IOException e) {
e.printStackTrace();
} catch (RuntimeException e) {
e.printStackTrace();
}