diff options
Diffstat (limited to 'src/swap.c')
-rw-r--r-- | src/swap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/swap.c b/src/swap.c index 4124f75852..db0614b9f9 100644 --- a/src/swap.c +++ b/src/swap.c @@ -264,6 +264,8 @@ static int swap_load(Unit *u) { return r; if (u->meta.load_state == UNIT_LOADED) { + if ((r = unit_add_exec_dependencies(u, &s->exec_context)) < 0) + return r; if (s->meta.fragment_path) s->from_fragment = true; |