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 committed by Danial Behzadi
parent f0d6acd974
commit d4b697c76e

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());