mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
sd-bus: drop fd_nonblock() calls that are implied by rearrange_stdio() (#8514)
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
43bfe75032
commit
68b525d1d1
@@ -963,9 +963,6 @@ int bus_socket_exec(sd_bus *b) {
|
||||
if (rearrange_stdio(s[1], s[1], STDERR_FILENO) < 0)
|
||||
_exit(EXIT_FAILURE);
|
||||
|
||||
(void) fd_nonblock(STDIN_FILENO, false);
|
||||
(void) fd_nonblock(STDOUT_FILENO, false);
|
||||
|
||||
if (b->exec_argv)
|
||||
execvp(b->exec_path, b->exec_argv);
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user