summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbyszek Szmek <zbyszek@in.waw.pl>2010-09-15 01:54:15 +0200
committerLennart Poettering <lennart@poettering.net>2010-09-15 03:05:02 +0200
commit9b2fcafba47200d72d987d33abbe172891b8af82 (patch)
tree985c63e1efa6c58b5e9057a668904a8261c2234c
parentd2f316345cfadd07025b1a1770f63804e33c4b50 (diff)
systemctl: split job list writing to a seperate function
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
-rw-r--r--src/systemctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl.c b/src/systemctl.c
index fa191abc17..e6f2c7c57c 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"