show complete link command in debug logging

Its helpful when debugging if the complete command is printed,
without omitting the last element.
This commit is contained in:
Hans-Christoph Steiner 2016-09-21 12:17:55 +02:00
parent d2291b2134
commit 79df0a1f9b

View File

@ -66,7 +66,8 @@ public class FileCompat {
dest.getAbsolutePath(),
};
try {
Utils.debugLog(TAG, "Executing command: " + commands[0] + " " + commands[1] + " " + commands[2]);
Utils.debugLog(TAG, "Executing command: " + commands[0] + " " + commands[1]
+ " " + commands[2] + " " + commands[3]);
Process proc = Runtime.getRuntime().exec(commands);
Utils.consumeStream(proc.getInputStream());
Utils.consumeStream(proc.getErrorStream());