mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-27 20:44:56 +00:00
Print uid in top if user doesnt exist.
This commit is contained in:
parent
5651cf1529
commit
b2a5a47a28
@ -517,7 +517,7 @@ static void print_top_user(struct text_object *obj, char *p,
|
||||
if (pw != nullptr) {
|
||||
snprintf(p, p_max_size, "%.8s", pw->pw_name);
|
||||
} else {
|
||||
NORM_ERR("The uid doesn't exist");
|
||||
snprintf(p, p_max_size, "%d", td->list[td->num]->uid);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user