mirror of
https://github.com/troglobit/finit.git
synced 2026-10-16 10:39:35 +00:00
Do not ignore updated services when cleaning up removed ones
When cleaning up removed services, the assumption was made that if a service was not 'removed', it was 'clean'. In reality, it could also be 'updated', which was then overwritten, causing services not being restarted. Don't do that. As a future precaution, make the dirty field const, only allowing updates from accessor methods.
This commit is contained in:
1 parent
171d611b14
commit
c641a1374e
4 files changed
+19
-8