chiark / gitweb /
socket: disable GC for pre-allocated per-connection service until it is used
[elogind.git] / src / unit.c
index 3c4bdec9816dfd8af6a4de3216f6ed3ea29dae33..881f91a677880a30fb1728f98373393c748d29f1 100644 (file)
@@ -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;