summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/login/loginctl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/login/loginctl.c b/src/login/loginctl.c
index 914f316998..6900253b0d 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);