Merge branch 'acesso-patch-2'
This commit is contained in:
commit
291c27c940
|
@ -253,7 +253,7 @@ FILE *open_file_for_write(const char *filename) {
|
||||||
|
|
||||||
// We get race condition if execve is called at the same time.
|
// We get race condition if execve is called at the same time.
|
||||||
if (fd != -1) {
|
if (fd != -1) {
|
||||||
make_socket_closeonexec(fd);
|
util::make_socket_closeonexec(fd);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if (fd == -1) {
|
if (fd == -1) {
|
||||||
|
|
Loading…
Reference in New Issue