mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-11 05:17:44 +03:00
loginctl: fix output of type with class
This commit is contained in:
parent
d4fffc4b8b
commit
91d53e2b89
@ -453,10 +453,12 @@ static int print_session_status_info(sd_bus *bus, const char *path, bool *new_li
|
||||
|
||||
printf("\n");
|
||||
} else if (i.type) {
|
||||
printf("\t Type: %s\n", i.type);
|
||||
printf("\t Type: %s", i.type);
|
||||
|
||||
if (i.class)
|
||||
printf("; class %s", i.class);
|
||||
|
||||
printf("\n");
|
||||
} else if (i.class)
|
||||
printf("\t Class: %s\n", i.class);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user