mirror of
https://github.com/aristocratos/btop.git
synced 2024-05-16 02:13:46 +12:00
Remove duplicated fstype
This commit is contained in:
parent
9fdf6d0204
commit
891051c8ab
|
@ -658,7 +658,7 @@ namespace Mem {
|
|||
for (int i = 0; i < count; i++) {
|
||||
auto fstype = string(stfs[i].f_fstypename);
|
||||
if (fstype == "autofs" || fstype == "devfs" || fstype == "linprocfs" || fstype == "procfs" || fstype == "tmpfs" || fstype == "linsysfs" ||
|
||||
fstype == "devfs" || fstype == "fdesckfs") {
|
||||
fstype == "fdesckfs") {
|
||||
// in memory filesystems -> not useful to show
|
||||
continue;
|
||||
}
|
||||
|
@ -1330,4 +1330,4 @@ namespace Tools {
|
|||
}
|
||||
return 0.0;
|
||||
}
|
||||
} // namespace Tools
|
||||
} // namespace Tools
|
||||
|
|
Loading…
Reference in a new issue