mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 19:32:56 +00:00
use Arrays.toString to convert trimmed process args to application args in ShellService.
This commit is contained in:
1 file changed
+3
-1
@@ -76,7 +76,7 @@ public class ShellService implements ClientApp {
|
||||
|
||||
String[] procArgs = trimArgs(args);
|
||||
|
||||
String process = procArgs.toString();
|
||||
String process = Arrays.toString(procArgs);
|
||||
|
||||
if (_log.shouldLog(Log.DEBUG)) {
|
||||
_log.debug("Process: " + process);
|
||||
@@ -112,6 +112,8 @@ public class ShellService implements ClientApp {
|
||||
i++;
|
||||
}
|
||||
} else {
|
||||
if (_log.shouldLog(Log.DEBUG))
|
||||
_log.debug("Adding arg: " + args[i]);
|
||||
newargs.add(args[i]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user