diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-02-15 12:28:26 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-02-15 12:28:26 +0100 |
commit | 27abbe8251a2614aab549a7a83f752e92d971a6a (patch) | |
tree | d77a7b1eb1bfd53fa0847617468fca9b7f76546a /src/mount.c | |
parent | 934da0359966a77ff4f1505a4663e34aa434f4d3 (diff) |
mount,swap: properly add dependencies to logger if needed
Diffstat (limited to 'src/mount.c')
-rw-r--r-- | src/mount.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mount.c b/src/mount.c index 1f311cee41..102d88b6e0 100644 --- a/src/mount.c +++ b/src/mount.c @@ -466,6 +466,9 @@ static int mount_load(Unit *u) { /* This is a new unit? Then let's add in some extras */ if (u->meta.load_state == UNIT_LOADED) { + if ((r = unit_add_exec_dependencies(u, &m->exec_context)) < 0) + return r; + if (m->meta.fragment_path) m->from_fragment = true; |