logind: ignore PropertiesChanged signals for jobs

Otherwise we get a (harmless) message like:
systemd-logind[30845]: Failed to process message [type=signal sender=:1.36 path=/org/freedesktop/systemd1/job/4674 interface=org.freedesktop.DBus.Properties member=PropertiesChanged signature=sa{sv}as]: Invalid argument
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2014-02-08 17:22:13 -05:00
parent 9bb69af4f2
commit a87105a386

View file

@ -2047,7 +2047,8 @@ int match_properties_changed(sd_bus *bus, sd_bus_message *message, void *userdat
r = unit_name_from_dbus_path(path, &unit);
if (r < 0)
return r;
/* quietly ignore non-units paths */
return r == -EINVAL ? 0 : r;
session = hashmap_get(m->session_units, unit);
if (session)