diff options
author | Andy Wingo <wingo@pobox.com> | 2015-08-18 08:42:11 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2015-08-18 08:42:11 +0200 |
commit | 46158d1ab9f793290b418e2345a417316aa1f64c (patch) | |
tree | cb44bbefeafe52c96387f37fb5d272cc4e0a2c17 | |
parent | 2db825368115f655b447892078314a15f7efa030 (diff) |
Fix logind startup
* src/login/logind.c (manager_connect_bus): Warn instead of error if we
can't subscribe to updates from systemd. Perhaps we should remove
this entirely.
-rw-r--r-- | src/login/logind.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login/logind.c b/src/login/logind.c index efc37a12ee..59ee2e6d44 100644 --- a/src/login/logind.c +++ b/src/login/logind.c @@ -675,8 +675,8 @@ static int manager_connect_bus(Manager *m) { &error, NULL, NULL); if (r < 0) { - log_error("Failed to enable subscription: %s", bus_error_message(&error, r)); - return r; + log_warning("Failed to subscribe to org.freedesktop.systemd1.Manager: %s", + bus_error_message(&error, r)); } r = sd_bus_request_name(m->bus, "org.freedesktop.login1", 0); |