From e2f3b44cfc8864bfea7c77ff4c383ce9b535f27e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 20 Jan 2011 13:17:22 +0100 Subject: service: when reloading a service fails don't fail the entire service but just the reload job --- src/swap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/swap.c') diff --git a/src/swap.c b/src/swap.c index 9bdb5aabf6..6ab99d5712 100644 --- a/src/swap.c +++ b/src/swap.c @@ -501,7 +501,7 @@ static void swap_set_state(Swap *s, SwapState state) { swap_state_to_string(old_state), swap_state_to_string(state)); - unit_notify(UNIT(s), state_translation_table[old_state], state_translation_table[state]); + unit_notify(UNIT(s), state_translation_table[old_state], state_translation_table[state], true); } static int swap_coldplug(Unit *u) { -- cgit v1.2.3-54-g00ecf