diff options
author | Michal Sekletár <msekleta@redhat.com> | 2020-03-26 13:34:20 +0100 |
---|---|---|
committer | The Plumber <50238977+systemd-rhel-bot@users.noreply.github.com> | 2021-04-12 16:25:18 +0200 |
commit | 5dd06cc43afba6364fad3aed8e857f6203078713 (patch) | |
tree | dc15ce01d4fbc01351bb17347b42bbcd387dd11c | |
parent | 9b40608e772dac4e0fa7b5be3a283360efb282e7 (diff) | |
download | systemd-5dd06cc43afba6364fad3aed8e857f6203078713.tar.gz |
device: make sure we emit PropertiesChanged signal once we set sysfs
(cherry picked from commit 7c4d139485139eae95b17a1d54cb51ae958abd70)
Related: #1946671
-rw-r--r-- | src/core/device.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/device.c b/src/core/device.c index a2d00a0fbe..21fe3802bd 100644 --- a/src/core/device.c +++ b/src/core/device.c @@ -81,6 +81,8 @@ static int device_set_sysfs(Device *d, const char *sysfs) { } d->sysfs = TAKE_PTR(copy); + unit_add_to_dbus_queue(UNIT(d)); + return 0; } |