core: set source_mtime after load dropins
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 31 May 2020 12:35:40 +0000 (14:35 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 2 Jun 2020 20:53:55 +0000 (22:53 +0200)
commitc9e06956754036177442e0e225f8c63b1f7eac5f
tree9051cab79a1518c1d1284d2862945f00cd29c565
parent7183b22f129f49ded2b8bfffd3c473e15aebca2c
core: set source_mtime after load dropins

Dropins may specify SourcePath= too, but we would do the stat only
after loading the main fragment, before loading of the drop-ins.

Fixes #13634.
src/core/load-fragment.c
src/core/unit.c