]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/device.c
core: drop UnitNotifyFlags
[thirdparty/systemd.git] / src / core / device.c
index 79082d1688b662dfe86af31aace2f57d80f0199e..60ab59c53b62178418de1df6f1bad52d85d9cb93 100644 (file)
@@ -182,7 +182,7 @@ static void device_set_state(Device *d, DeviceState state) {
         if (state != old_state)
                 log_unit_debug(UNIT(d), "Changed %s -> %s", device_state_to_string(old_state), device_state_to_string(state));
 
-        unit_notify(UNIT(d), state_translation_table[old_state], state_translation_table[state], 0);
+        unit_notify(UNIT(d), state_translation_table[old_state], state_translation_table[state], /* reload_success = */ true);
 }
 
 static void device_found_changed(Device *d, DeviceFound previous, DeviceFound now) {