diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-04-12 05:10:57 -0400 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2016-04-12 11:10:57 +0200 |
commit | 6d10d308c6cd16528ef58fa4f5822aef936862d3 (patch) | |
tree | bc5479db64809dcd20859959f076578443c6f4a1 /src/shared | |
parent | 35a6750d9e26b26b423fbe815bead7d750210d8d (diff) |
Do not report masked units as changed (#2921)
* core/unit: extract checking of stat paths into helper function
The same code was repeated three times.
* core: treat masked files as "unchanged"
systemctl prints the "unit file changed on disk" warning
for a masked unit. I think it's better to print nothing in that
case.
When a masked unit is loaded, set mtime as 0. When checking
if a unit with mtime of 0 needs reload, check that the mask
is still in place.
* test-dnssec: fix build without gcrypt
Also reorder the test functions to follow the way they are called
from main().
Diffstat (limited to 'src/shared')
0 files changed, 0 insertions, 0 deletions