core/unit: follow merged units before updating SourcePath= timestamp too
authorMike Yuan <me@yhndnzj.com>
Fri, 28 Jun 2024 13:32:33 +0000 (15:32 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 28 Jun 2024 19:10:16 +0000 (21:10 +0200)
commit740cd1e0f2ae5cc1a10d2111d63cc4e975761091
tree19ac1df6c53d086b39ece58e8fec447a3f34217f
parent3f1764dcfc645498d5c76aa12eb2500bcd874c21
core/unit: follow merged units before updating SourcePath= timestamp too

Currently, we only follow merged units for unit_load_dropin() call.
But if the unit is an alias, we should always perform operations
on the "canonical" unit.
src/core/unit.c