Re: [systemd-devel] Antw: Re: Is "systemctl status --state=failed" expected to fail silently?

2019-07-09 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Jul 09, 2019 at 10:23:47AM +0200, Ulrich Windl wrote:
> >>> Zbigniew Jedrzejewski-Szmek  schrieb am 09.07.2019 um
> 10:05
> in Nachricht <20190709080527.gk17...@in.waw.pl>:
> > On Tue, Jul 09, 2019 at 08:49:32AM +0200, Ulrich Windl wrote:
> >> Hi!
> >> 
> >> It seems "‑‑state=failed" is being ignored silently for "systemctl status"
> (in 
> > version 228). Is this by design?
> > 
> > Nope. In 242‑1092+ it seems to work fine.
> 
> In v228 is is effective for "list-units", but not for "status"...

Oh, right. I checked "list-units", but not "status".
"systemctl status 'systemd*' --state=running" and
"systemctl status 'systemd*' --state=failed" both seem to do the
right thing here.

Zbyszek
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

[systemd-devel] Antw: Re: Is "systemctl status --state=failed" expected to fail silently?

2019-07-09 Thread Ulrich Windl
>>> Zbigniew Jedrzejewski-Szmek  schrieb am 09.07.2019 um
10:05
in Nachricht <20190709080527.gk17...@in.waw.pl>:
> On Tue, Jul 09, 2019 at 08:49:32AM +0200, Ulrich Windl wrote:
>> Hi!
>> 
>> It seems "‑‑state=failed" is being ignored silently for "systemctl status"
(in 
> version 228). Is this by design?
> 
> Nope. In 242‑1092+ it seems to work fine.

In v228 is is effective for "list-units", but not for "status"...

> 
> Zbyszek



___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel