Merge pull request #23848 from yuwata/core-device-systemd-wants

core: fix SYSTEMD_WANTS and StopWhenUnneeded=
This commit is contained in:
Lennart Poettering
2022-08-10 14:43:25 +02:00
committed by GitHub
4 changed files with 224 additions and 10 deletions
+3
View File
@@ -5167,6 +5167,9 @@ void unit_remove_dependencies(Unit *u, UnitDependencyMask mask) {
unit_add_to_gc_queue(other);
/* The unit 'other' may not be wanted by the unit 'u'. */
unit_submit_to_stop_when_unneeded_queue(other);
done = false;
break;
}