chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
socket: disable GC for pre-allocated per-connection service until it is used
[elogind.git]
/
src
/
unit.c
diff --git
a/src/unit.c
b/src/unit.c
index 3c4bdec9816dfd8af6a4de3216f6ed3ea29dae33..881f91a677880a30fb1728f98373393c748d29f1 100644
(file)
--- a/
src/unit.c
+++ b/
src/unit.c
@@
-236,6
+236,9
@@
bool unit_check_gc(Unit *u) {
if (UNIT_VTABLE(u)->no_gc)
return true;
+ if (u->meta.no_gc)
+ return true;
+
if (u->meta.job)
return true;