From: Michal Sekletár Date: Thu, 26 Mar 2020 12:34:20 +0000 (+0100) Subject: device: make sure we emit PropertiesChanged signal once we set sysfs X-Git-Tag: v246-rc1~690^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c4d139485139eae95b17a1d54cb51ae958abd70;p=thirdparty%2Fsystemd.git device: make sure we emit PropertiesChanged signal once we set sysfs --- diff --git a/src/core/device.c b/src/core/device.c index 06bbbf8d2c3..03bfd9b329d 100644 --- a/src/core/device.c +++ b/src/core/device.c @@ -83,6 +83,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; }