i2ptunnel: Fix NPE if no config file

This commit is contained in:
zzz
2020-01-15 14:10:49 +00:00
parent f65cfbf92c
commit 3c9e78bd76

View File

@@ -426,7 +426,7 @@ public class TunnelControllerGroup implements ClientApp {
_log.error("Error loading the client app properties from " + f + ' '+ ioe);
}
}
} else {
} else if (props != null) {
// use what we got from i2ptunnel.config
for (Properties cfg : props) {
String type = cfg.getProperty("type");