mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-25 11:47:38 +00:00
Redundant use of cat(1).
This commit is contained in:
parent
d633d05803
commit
9d6851cbbd
@ -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()));
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user