sd-login: fix querying machines when machined is not running
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 19 May 2017 11:52:00 +0000 (07:52 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 19 May 2017 11:52:00 +0000 (07:52 -0400)
commit0543105b0fb13e4243b71a78f62f81fb9dde5d51
tree449db97f8b0fb7845731608668a36f5637ea043d
parent171f8f591ff27ebb5ff475b7a9d1f13a846c9331
sd-login: fix querying machines when machined is not running

We should not leak the internal error from missing directory and treat
that case the same as no machines.
src/libsystemd/sd-login/sd-login.c