From: Lennart Poettering Date: Sat, 10 Jul 2010 23:20:46 +0000 (+0200) Subject: systemctl: move status further down X-Git-Tag: v3~47^2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17bb73821c750f8df876114e6d5e116537f335e5;p=systemd systemctl: move status further down --- diff --git a/src/systemctl.c b/src/systemctl.c index 799f57d0..666cebfc 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;