From 79df0a1f9b66043e583736042be23bfd985e6d7e Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 21 Sep 2016 12:17:55 +0200 Subject: [PATCH] show complete link command in debug logging Its helpful when debugging if the complete command is printed, without omitting the last element. --- app/src/main/java/org/fdroid/fdroid/compat/FileCompat.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/org/fdroid/fdroid/compat/FileCompat.java b/app/src/main/java/org/fdroid/fdroid/compat/FileCompat.java index 5612d6d05..6ad56b4c3 100644 --- a/app/src/main/java/org/fdroid/fdroid/compat/FileCompat.java +++ b/app/src/main/java/org/fdroid/fdroid/compat/FileCompat.java @@ -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());