core: move flushing of generated unit files to path-lookup.c
authorLennart Poettering <lennart@poettering.net>
Wed, 6 Apr 2016 18:47:44 +0000 (20:47 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 12 Apr 2016 11:43:31 +0000 (13:43 +0200)
commit07a7864324e146662cb06f49fc3cd666788e2e2f
treeb568cd995b905b332616ee7f496403a774f6633d
parentd8d410f4455238e30daa1775b469e31f34371f87
core: move flushing of generated unit files to path-lookup.c

It's very similar to the mkdir and trim operations for the generator dirs,
hence let's unify this at a single place.
src/core/manager.c
src/shared/path-lookup.c
src/shared/path-lookup.h