[systemd-commits] src/systemctl.c

Lennart Poettering lennart at kemper.freedesktop.org
Sat Jul 10 16:21:07 PDT 2010


 src/systemctl.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 17bb73821c750f8df876114e6d5e116537f335e5
Author: Lennart Poettering <lennart at poettering.net>
Date:   Sun Jul 11 01:20:46 2010 +0200

    systemctl: move status further down

diff --git a/src/systemctl.c b/src/systemctl.c
index 799f57d..666cebf 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;
 


More information about the systemd-commits mailing list