chiark / gitweb /
service: when reloading a service fails don't fail the entire service but just the...
[elogind.git] / src / swap.c
index 9bdb5aabf644c52b0693dd5ea84ef31f8f9539f6..6ab99d5712f09d74058de5abdd286567dfbb1787 100644 (file)
@@ -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) {