Re: [systemd-devel] [PATCH] systemctl: Use logind for --firmware-setup if possible

2015-04-08 Thread Lennart Poettering
On Wed, 08.04.15 19:05, Jan Janssen (medhe...@web.de) wrote: > What's the point in retrying if you got EOPNOTSUPP the first time? > :P Well, dunno. Actually the main reason I swapped around the order of the two ways, is to avoid whitelisting or blacklisting error cases... I mean, there are certai

Re: [systemd-devel] [PATCH] systemctl: Use logind for --firmware-setup if possible

2015-04-08 Thread Jan Janssen
What's the point in retrying if you got EOPNOTSUPP the first time? :P Jan On 2015-04-08 18:24, Lennart Poettering wrote: On Wed, 08.04.15 16:49, Jan Janssen (medhe...@web.de) wrote: Awesome! Thanks! Applied! (Though I took the liberty to swap the order around, to first try direct access, and

Re: [systemd-devel] [PATCH] systemctl: Use logind for --firmware-setup if possible

2015-04-08 Thread Lennart Poettering
On Wed, 08.04.15 16:49, Jan Janssen (medhe...@web.de) wrote: Awesome! Thanks! Applied! (Though I took the liberty to swap the order around, to first try direct access, and only the fall back via logind. Thanks, Lennart > --- > src/systemctl/systemctl.c | 43 +++

[systemd-devel] [PATCH] systemctl: Use logind for --firmware-setup if possible

2015-04-08 Thread Jan Janssen
--- src/systemctl/systemctl.c | 43 ++- 1 file changed, 38 insertions(+), 5 deletions(-) diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index ae87e44..caa8d07 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -291