chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
core: make sure to serialize jobs for all units
[elogind.git]
/
src
/
core
/
manager.c
diff --git
a/src/core/manager.c
b/src/core/manager.c
index 5772f402b1f41885a579561157e5a8edf9c3838d..d0af6741edf766ba8139cffb487acd1e0675e0b9 100644
(file)
--- a/
src/core/manager.c
+++ b/
src/core/manager.c
@@
-968,6
+968,7
@@
int manager_startup(Manager *m, FILE *serialization, FDSet *fds) {
r = lookup_paths_init(
&m->lookup_paths, m->running_as, true,
r = lookup_paths_init(
&m->lookup_paths, m->running_as, true,
+ NULL,
m->generator_unit_path,
m->generator_unit_path_early,
m->generator_unit_path_late);
m->generator_unit_path,
m->generator_unit_path_early,
m->generator_unit_path_late);
@@
-2130,9
+2131,6
@@
int manager_serialize(Manager *m, FILE *f, FDSet *fds, bool switching_root) {
if (u->id != t)
continue;
if (u->id != t)
continue;
- if (!unit_can_serialize(u))
- continue;
-
/* Start marker */
fputs(u->id, f);
fputc('\n', f);
/* Start marker */
fputs(u->id, f);
fputc('\n', f);
@@
-2374,6
+2372,7
@@
int manager_reload(Manager *m) {
q = lookup_paths_init(
&m->lookup_paths, m->running_as, true,
q = lookup_paths_init(
&m->lookup_paths, m->running_as, true,
+ NULL,
m->generator_unit_path,
m->generator_unit_path_early,
m->generator_unit_path_late);
m->generator_unit_path,
m->generator_unit_path_early,
m->generator_unit_path_late);