mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 00:38:07 +02:00
core: fix setting non-blocking stderr in nm_utils_spawn_helper()
Fixes:d65702803c('core: print stderr from nm-daemon-helper') (cherry picked from commitd1f7e439c6)
This commit is contained in:
parent
909c7994fb
commit
3364b8b804
1 changed files with 1 additions and 1 deletions
|
|
@ -5154,7 +5154,7 @@ nm_utils_spawn_helper(const char *const *args,
|
|||
fcntl(info->child_stdin, F_SETFL, fd_flags | O_NONBLOCK);
|
||||
fd_flags = fcntl(info->child_stdout, F_GETFL, 0);
|
||||
fcntl(info->child_stdout, F_SETFL, fd_flags | O_NONBLOCK);
|
||||
fd_flags = fcntl(info->child_stderr, F_GETFD, 0);
|
||||
fd_flags = fcntl(info->child_stderr, F_GETFL, 0);
|
||||
fcntl(info->child_stderr, F_SETFL, fd_flags | O_NONBLOCK);
|
||||
|
||||
/* Watch process stdin */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue