handle situations where people dont specify a client name for a client app

This commit is contained in:
jrandom
2004-06-20 00:40:16 +00:00
committed by zzz
parent bc06b3671a
commit baedcdb2c1

View File

@ -118,6 +118,8 @@ class LoadClientAppsJob extends JobImpl {
private void runClient(String className, String clientName, String args[]) {
_log.info("Loading up the client application " + clientName + ": " + className + " " + args);
I2PThread t = new I2PThread(new RunApp(className, clientName, args));
if (clientName == null)
clientName = className + " client";
t.setName(clientName);
t.setDaemon(true);
t.start();