summaryrefslogtreecommitdiff
path: root/src/device.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-01-20 13:17:22 +0100
committerLennart Poettering <lennart@poettering.net>2011-01-20 13:17:22 +0100
commite2f3b44cfc8864bfea7c77ff4c383ce9b535f27e (patch)
tree81dc25605f9493c5f32b596556a3736f55fb9bb0 /src/device.c
parentf8d0ceb46b8c617abce8eaf99812ca7f4ce1c658 (diff)
service: when reloading a service fails don't fail the entire service but just the reload job
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c
index b36bfc1ad..5289da3e4 100644
--- a/src/device.c
+++ b/src/device.c
@@ -92,7 +92,7 @@ static void device_set_state(Device *d, DeviceState 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) {