X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flogin%2Floginctl.c;h=6900253b0d47a9a1ace0be8254f2e8ba4f46277d;hb=847657c7690598f1c77d0ba9e86ef58916bc58a7;hp=914f3169989551dd8c54de0ef6537b2efca7b6fd;hpb=016284c352084cdbf856905704070c1f30970f58;p=elogind.git diff --git a/src/login/loginctl.c b/src/login/loginctl.c index 914f31699..6900253b0 100644 --- a/src/login/loginctl.c +++ b/src/login/loginctl.c @@ -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);