Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
podman service: close duplicated /dev/null fd
Since we open /dev/null to set it as STDIN we can close it after the dup2() call. Using defer is not good enough since this function will never exit since the http server will block. This is not a problem but it reduces the open fds from the service by one. [NO NEW TESTS NEEDED] Signed-off-by: Paul Holzinger <[email protected]>
- Loading branch information