mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-04 04:31:27 +00:00
core: gc half-created stub units
This commit is contained in:
@@ -259,9 +259,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