Set O_CLOEXEC on ready FD

This commit is contained in:
Simon Ser 2021-06-09 17:38:31 +02:00
parent 8123bc4f36
commit df6b48776e

View file

@ -3219,7 +3219,7 @@ steamcompmgr_main (int argc, char **argv)
{
switch (o) {
case 'R':
readyPipeFD = open( optarg, O_WRONLY );
readyPipeFD = open( optarg, O_WRONLY | O_CLOEXEC );
break;
case 'T':
statsThreadPath = optarg;