mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-03 23:38:39 +00:00
core: gc half-created stub units
(cherry picked from commit c35fa384d0)
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
d5fdaa66bf
commit
97a7eeadee
@@ -249,9 +249,6 @@ int unit_set_description(Unit *u, const char *description) {
|
||||
bool unit_check_gc(Unit *u) {
|
||||
assert(u);
|
||||
|
||||
if (u->load_state == UNIT_STUB)
|
||||
return true;
|
||||
|
||||
if (UNIT_VTABLE(u)->no_gc)
|
||||
return true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user