mirror of
https://github.com/aristocratos/btop.git
synced 2024-05-29 00:30:44 +12:00
Remove duplicate fstype setter
This commit is contained in:
parent
a88671b68f
commit
d402f4cece
|
@ -937,7 +937,6 @@ namespace Mem {
|
|||
if (mountpoint == "/mnt") disks.at(mountpoint).name = "root";
|
||||
#endif
|
||||
if (disks.at(mountpoint).name.empty()) disks.at(mountpoint).name = (mountpoint == "/" ? "root" : mountpoint);
|
||||
disks.at(mountpoint).fstype = fstype;
|
||||
string devname = disks.at(mountpoint).dev.filename();
|
||||
int c = 0;
|
||||
while (devname.size() >= 2) {
|
||||
|
|
Loading…
Reference in a new issue