tons of changes
[org.ibex.jinetd.git] / src / org / ibex / jinetd / Main.java
index ca18381..e45c6c3 100644 (file)
@@ -66,8 +66,8 @@ public class Main {
         Log.color = true;
         Root root = new Root(Root.root);
         while(true) try {
-            Thread.sleep(1000);
-            if (root != null) root.scan();
+            if (root != null) { root.scan(); return; }
+            Thread.sleep(100);
         } catch (Exception e) { Log.error(Main.class, e); }
     }