]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/mount.c
core: add support for setting stdin/stdout/stderr for transient services
[thirdparty/systemd.git] / src / core / mount.c
index a74f116657ae6d3ebb7268f71a8a9f3a2a2d3094..861112945353b6daf59aff46142187539b33174b 100644 (file)
@@ -694,6 +694,9 @@ static int mount_spawn(Mount *m, ExecCommand *c, pid_t *_pid) {
                 .apply_chroot      = true,
                 .apply_tty_stdin   = true,
                 .bus_endpoint_fd   = -1,
+                .stdin_fd          = -1,
+                .stdout_fd         = -1,
+                .stderr_fd         = -1,
         };
 
         assert(m);