mirror of
https://github.com/systemd/systemd.git
synced 2025-01-10 05:18:17 +03:00
userdbctl: set shell/home cell type to TABLE_PATH
This only matters for sorting, and we currently don't support sorting by path, hence this is of no real effect, but it certainly is more correct.
This commit is contained in:
parent
2ea94b145e
commit
c17a76982a
@ -121,8 +121,8 @@ static int show_user(UserRecord *ur, Table *table) {
|
||||
TABLE_UID, ur->uid,
|
||||
TABLE_GID, user_record_gid(ur),
|
||||
TABLE_STRING, empty_to_null(ur->real_name),
|
||||
TABLE_STRING, user_record_home_directory(ur),
|
||||
TABLE_STRING, sh,
|
||||
TABLE_PATH, user_record_home_directory(ur),
|
||||
TABLE_PATH, sh,
|
||||
TABLE_SET_COLOR, shell_to_color(sh),
|
||||
TABLE_INT, 0);
|
||||
if (r < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user