]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/systemctl/systemctl.c
systemctl: make sure we properly turn off color at the end of each line of "list...
authorLennart Poettering <lennart@poettering.net>
Tue, 5 Sep 2017 14:31:26 +0000 (16:31 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 5 Sep 2017 14:31:26 +0000 (16:31 +0200)
commitaaa6732d7834c1dc0f937936563218724d71b619
treeb4f3615bfa672b46153c7c006cc319cfca0bc7bc
parentead36ce651955999e7cf1f6167aa0065f8cd5f3f
systemctl: make sure we properly turn off color at the end of each line of "list-unit-files" (#6688)

Let's simplify the code a bit, and make sure we always turn off color
and underlining again on each line, if we used it.

Fixes: #6684
src/systemctl/systemctl.c