Unnamed patch
[org.ibex.jinetd.git] / src / org / ibex / jinetd / Main.java
index 8e4c41b..037527e 100644 (file)
@@ -18,7 +18,7 @@ public class Main {
     public static PrintStream LOGSTREAM;
     public static String defaultDomain;
 
-    static {
+    public static void init() {
         try {
             System.err.println("jinetd starting...");
             ROOT = System.getProperty("jinetd.root", null);
@@ -70,6 +70,7 @@ public class Main {
     }
 
     public static void main(String[] s) throws Exception {
+        init();
         Root root = new Root(ROOT);
         while(true) try {
             if (root != null) { root.scan(); return; }