Set O_CLOEXEC on ready FD
This commit is contained in:
parent
8123bc4f36
commit
df6b48776e
1 changed files with 1 additions and 1 deletions
|
@ -3219,7 +3219,7 @@ steamcompmgr_main (int argc, char **argv)
|
||||||
{
|
{
|
||||||
switch (o) {
|
switch (o) {
|
||||||
case 'R':
|
case 'R':
|
||||||
readyPipeFD = open( optarg, O_WRONLY );
|
readyPipeFD = open( optarg, O_WRONLY | O_CLOEXEC );
|
||||||
break;
|
break;
|
||||||
case 'T':
|
case 'T':
|
||||||
statsThreadPath = optarg;
|
statsThreadPath = optarg;
|
||||||
|
|
Loading…
Reference in a new issue