summaryrefslogtreecommitdiff
path: root/src/target.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/target.c
parentf8d0ceb46b8c617abce8eaf99812ca7f4ce1c658 (diff)
service: when reloading a service fails don't fail the entire service but just the reload job
Diffstat (limited to 'src/target.c')
-rw-r--r--src/target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target.c b/src/target.c
index f322ce7275..a73a989876 100644
--- a/src/target.c
+++ b/src/target.c
@@ -49,7 +49,7 @@ static void target_set_state(Target *t, TargetState state) {
target_state_to_string(old_state),
target_state_to_string(state));
- unit_notify(UNIT(t), state_translation_table[old_state], state_translation_table[state]);
+ unit_notify(UNIT(t), state_translation_table[old_state], state_translation_table[state], true);
}
static int target_add_default_dependencies(Target *t) {