diff --git a/src/steamcompmgr.cpp b/src/steamcompmgr.cpp index a6bda66..7f843db 100644 --- a/src/steamcompmgr.cpp +++ b/src/steamcompmgr.cpp @@ -383,7 +383,7 @@ void statsThreadMain( void ) while ( statsPipeFD == -1 ) { - statsPipeFD = open( statsThreadPath.c_str(), O_WRONLY ); + statsPipeFD = open( statsThreadPath.c_str(), O_WRONLY | O_CLOEXEC ); if ( statsPipeFD == -1 ) {