projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4fffc4
)
loginctl: fix output of type with class
author
Mantas Mikulėnas
<grawity@gmail.com>
Sun, 22 Dec 2013 05:22:46 +0000
(07:22 +0200)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Mon, 23 Dec 2013 00:12:57 +0000
(19:12 -0500)
src/login/loginctl.c
patch
|
blob
|
history
diff --git
a/src/login/loginctl.c
b/src/login/loginctl.c
index
914f316
..
6900253
100644
(file)
--- 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);