Files
podman/pkg/machine
Christophe Fergeau 90f69891d7 applehv: Remove unneeded cmd.ExtraFiles assignment
`applehv.Start()` has this line of code:
```
cmd.ExtraFiles = []*os.File{ioEater, ioEater, ioEater}
```
whose purpose is not clear.

The intent may have been to redirect stdin/stdout/stderr to /dev/null in
the child process.
This should be done by setting cmd.Stdin/cmd.Stdout/cmd/Stderr to nil,
which is the case by default.

The way it's done could also cause issues as
`Vfkit.VirtualMachine.Cmd()` sometimes adds files it needs to keep open
to `ExtraFiles`, so at the very least this should be an `append()`

This commit removes this code.

[NO NEW TESTS NEEDED]

Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
2024-01-16 17:06:10 +01:00
..
2023-11-07 08:30:44 -06:00
2024-01-04 11:53:38 +02:00
2023-10-12 09:26:06 -04:00
2024-01-05 10:29:36 -05:00
2024-01-04 11:53:38 +02:00
2023-01-23 10:48:32 -06:00
2023-11-07 08:30:44 -06:00
2024-01-04 08:51:35 -05:00
2024-01-04 08:51:35 -05:00