The behaviour of systemctl.

Lennart Poettering mzerqung at 0pointer.de
Mon Jun 20 14:34:27 UTC 2011


On Mon, 20.06.11 11:12, Michal Hlavinka (mhlavink at redhat.com) wrote:

> I'll add one (small) inconsistency:
> 
> # systemctl is-active <service>
> 
> has following output:
>  > active
> and sets exit code. If you don't wont any output, you need to use "--quiet"
> 
> # systemctl is-enabled <service>
> just sets exit code.
> 
> I'd prefer if the behaviour of "is-active" and "is-enabled" is the same: 
> simple output and "--quiet" option.

I added this to the todo list now. Though I do wonder if we change this
now if people will complain... ;-)

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the devel mailing list