]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
device: make sure we emit PropertiesChanged signal once we set sysfs
authorMichal Sekletár <msekleta@redhat.com>
Thu, 26 Mar 2020 12:34:20 +0000 (13:34 +0100)
committerMichal Sekletár <msekleta@redhat.com>
Sat, 28 Mar 2020 20:26:40 +0000 (21:26 +0100)
src/core/device.c

index 06bbbf8d2c3d1f26f5205d917a49040a718abecd..03bfd9b329dcc8faee7dea3248db6f29e9d11169 100644 (file)
@@ -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;
 }