diff --git a/catvod/src/main/java/com/github/catvod/utils/Shell.java b/catvod/src/main/java/com/github/catvod/utils/Shell.java index 6b4b4dcc4..6fde6a3e4 100644 --- a/catvod/src/main/java/com/github/catvod/utils/Shell.java +++ b/catvod/src/main/java/com/github/catvod/utils/Shell.java @@ -4,10 +4,12 @@ import com.orhanobut.logger.Logger; public class Shell { + private static final String TAG = Shell.class.getSimpleName(); + public static void exec(String command) { try { int code = Runtime.getRuntime().exec(command).waitFor(); - if (code != 0) Logger.e("Shell command failed with exit code " + code); + if (code != 0) Logger.t(TAG).d("Shell command '%s' failed with exit code '%s'", command, code); } catch (Exception e) { e.printStackTrace(); }