chiark / gitweb /
manager: add newly created units to gc queue
authorLennart Poettering <lennart@poettering.net>
Sun, 16 May 2010 02:31:07 +0000 (04:31 +0200)
committerLennart Poettering <lennart@poettering.net>
Sun, 16 May 2010 02:31:07 +0000 (04:31 +0200)
manager.c

index 81af07b..688d9fa 100644 (file)
--- a/manager.c
+++ b/manager.c
@@ -1582,6 +1582,7 @@ int manager_load_unit_prepare(Manager *m, const char *name, const char *path, Un
 
         unit_add_to_load_queue(ret);
         unit_add_to_dbus_queue(ret);
+        unit_add_to_gc_queue(ret);
 
         if (_ret)
                 *_ret = ret;