summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/systemctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/systemctl.c b/src/systemctl.c
index d90471773e..05e6ac9147 100644
--- a/src/systemctl.c
+++ b/src/systemctl.c
@@ -1100,9 +1100,6 @@ static void print_status_info(UnitStatusInfo *i) {
else if (i->what)
printf("\t What: %s\n", i->what);
- if (i->status_text)
- printf("\t Status: \"%s\"\n", i->status_text);
-
if (i->accept)
printf("\tAccepted: %u; Connected: %u\n", i->n_accepted, i->n_connections);
@@ -1175,6 +1172,9 @@ static void print_status_info(UnitStatusInfo *i) {
printf("\n");
}
+ if (i->status_text)
+ printf("\t Status: \"%s\"\n", i->status_text);
+
if (i->default_control_group) {
unsigned c;