chiark / gitweb /
service: when reloading a service fails don't fail the entire service but just the...
[elogind.git] / src / device.c
index b36bfc1ad185d10b50dd03ec797f5b74dc8634bc..5289da3e42ef210896f4bb11c9cf3640415ab0ee 100644 (file)
@@ -92,7 +92,7 @@ static void device_set_state(Device *d, DeviceState state) {
                           device_state_to_string(old_state),
                           device_state_to_string(state));
 
                           device_state_to_string(old_state),
                           device_state_to_string(state));
 
-        unit_notify(UNIT(d), state_translation_table[old_state], state_translation_table[state]);
+        unit_notify(UNIT(d), state_translation_table[old_state], state_translation_table[state], true);
 }
 
 static int device_coldplug(Unit *u) {
 }
 
 static int device_coldplug(Unit *u) {