mirror of
https://github.com/systemd/systemd.git
synced 2025-02-27 01:57:35 +03:00
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:
parent
9bb69af4f2
commit
a87105a386
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user