]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/unit.c
Merge pull request #13119 from keszybz/unit-loading-2
[thirdparty/systemd.git] / src / core / unit.c
index d783e5c86784eb3e1c5c212cb61412a0b5a8cbc8..00181941fd9be13ffd49ecae1f62bfb483685ebb 100644 (file)
@@ -959,6 +959,9 @@ int unit_merge_by_name(Unit *u, const char *name) {
         Unit *other;
         int r;
 
+        /* Either add name to u, or if a unit with name already exists, merge it with u.
+         * If name is a template, do the same for name@instance, where instance is u's instance. */
+
         assert(u);
         assert(name);