mirror of https://github.com/aristocratos/btop.git
Fixed: Not picking up last username from /etc/passwd
This commit is contained in:
parent
c65c5e5d22
commit
68f7d1f4bb
|
@ -1744,6 +1744,7 @@ namespace Proc {
|
|||
getline(pread, r_user, ':');
|
||||
pread.ignore(SSmax, ':');
|
||||
getline(pread, r_uid, ':');
|
||||
if (uid_user.contains(r_uid)) break;
|
||||
uid_user[r_uid] = r_user;
|
||||
pread.ignore(SSmax, '\n');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue