Commit 9d6851cb authored by Ian Macdonald's avatar Ian Macdonald Committed by John Wu

Redundant use of cat(1).

parent d633d058
...@@ -78,7 +78,7 @@ public class MagiskLogFragment extends BaseFragment { ...@@ -78,7 +78,7 @@ public class MagiskLogFragment extends BaseFragment {
} }
private void readLogs() { private void readLogs() {
Shell.su("cat " + Const.MAGISK_LOG + " | tail -n 5000").submit(result -> { Shell.su("tail -n 5000 " + Const.MAGISK_LOG).submit(result -> {
rv.setAdapter(new MagiskLogAdapter(result.getOut())); rv.setAdapter(new MagiskLogAdapter(result.getOut()));
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment