From 9b2fcafba47200d72d987d33abbe172891b8af82 Mon Sep 17 00:00:00 2001 From: Zbyszek Szmek Date: Wed, 15 Sep 2010 01:54:15 +0200 Subject: [PATCH] systemctl: split job list writing to a seperate function MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit On Tue, Sep 14, 2010 at 10:23:28PM +0200, Lennart Poettering wrote: > On Tue, 07.09.10 17:02, Zbigniew Jędrzejewski-Szmek (zbyszek@in.waw.pl) wrote: > > Urks, now I commited the wrong one... Can you prep an updated patch against > current git? Once more sorry about that. Fix below. Zbyszek --- src/systemctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systemctl.c b/src/systemctl.c index fa191abc1..e6f2c7c57 100644 --- a/src/systemctl.c +++ b/src/systemctl.c @@ -334,7 +334,7 @@ static void output_units_list(const struct unit_info *unit_infos, unsigned c) { } } - if (!on_tty()) { + if (on_tty()) { printf("\nLOAD = Reflects whether the unit definition was properly loaded.\n" "ACTIVE = The high-level unit activation state, i.e. generalization of SUB.\n" "SUB = The low-level unit activation state, values depend on unit type.\n" -- 2.30.2