]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/path.c
core: drop UnitNotifyFlags
[thirdparty/systemd.git] / src / core / path.c
index c95663c3aaed76d20c27c7e9da56a83685922570..5fb14d9a10b4521ec796cfe965e238f69fce0e77 100644 (file)
@@ -477,7 +477,7 @@ static void path_set_state(Path *p, PathState state) {
         if (state != old_state)
                 log_unit_debug(UNIT(p), "Changed %s -> %s", path_state_to_string(old_state), path_state_to_string(state));
 
-        unit_notify(UNIT(p), state_translation_table[old_state], state_translation_table[state], 0);
+        unit_notify(UNIT(p), state_translation_table[old_state], state_translation_table[state], /* reload_success = */ true);
 }
 
 static void path_enter_waiting(Path *p, bool initial, bool from_trigger_notify);