]> err.no Git - systemd/commitdiff
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 81af07b000f271f050f6b6c5fb7762d7282e9c09..688d9fa65b28e831217faee879cf4977a241006f 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;