]> err.no Git - systemd/commitdiff
systemctl: move status further down
authorLennart Poettering <lennart@poettering.net>
Sat, 10 Jul 2010 23:20:46 +0000 (01:20 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 10 Jul 2010 23:20:57 +0000 (01:20 +0200)
src/systemctl.c

index 799f57d006d3b0b6b0883e7eba18cbcad1418cbe..666cebfcdb094bfefa692165a86db4bdf56be5fb 100644 (file)
@@ -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;