mirror of
https://github.com/aristocratos/btop.git
synced 2026-01-26 15:00:39 -05:00
Remove duplicated fstype
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user