Redundant use of cat(1).

This commit is contained in:
Ian Macdonald 2019-01-25 10:43:55 +01:00 committed by John Wu
parent d633d05803
commit 9d6851cbbd

View File

@ -78,7 +78,7 @@ public class MagiskLogFragment extends BaseFragment {
}
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()));
});
}