projects
/
org.ibex.jinetd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make jinetd relocatable
[org.ibex.jinetd.git]
/
src
/
org
/
ibex
/
jinetd
/
Main.java
diff --git
a/src/org/ibex/jinetd/Main.java
b/src/org/ibex/jinetd/Main.java
index
e32a32c
..
a8ae366
100644
(file)
--- a/
src/org/ibex/jinetd/Main.java
+++ b/
src/org/ibex/jinetd/Main.java
@@
-5,12
+5,11
@@
import java.util.*;
public class Main {
public class Main {
- public static Root root = new Root(System.getProperty("jinetd.root", "/jinetd"));
public static void main(String[] s) throws Exception {
Log.color = true;
public static void main(String[] s) throws Exception {
Log.color = true;
+ Root root = new Root(Root.root);
while(true) try {
Thread.sleep(1000);
while(true) try {
Thread.sleep(1000);
- //Log.info(Main.class, "scanning...");
if (root != null) root.scan();
} catch (Exception e) { Log.error(Main.class, e); }
}
if (root != null) root.scan();
} catch (Exception e) { Log.error(Main.class, e); }
}