]> git.ipfire.org Git - people/ms/systemd.git/blobdiff - mount.c
environment: allow control of the environment block via D-Bus
[people/ms/systemd.git] / mount.c
diff --git a/mount.c b/mount.c
index c989cddabf89f2e47c4e1ede7510aecc26d5752e..ce99af077884843654f7883cb045d98a99778bf5 100644 (file)
--- a/mount.c
+++ b/mount.c
@@ -490,6 +490,7 @@ static int mount_spawn(Mount *m, ExecCommand *c, pid_t *_pid) {
                             NULL,
                             &m->exec_context,
                             NULL, 0,
+                            m->meta.manager->environment,
                             true,
                             true,
                             UNIT(m)->meta.manager->confirm_spawn,