everywhere: always use O_CLOEXEC where it makes sense

This commit is contained in:
Lennart Poettering
2014-02-13 14:59:56 +01:00
parent 955d98c9c1
commit c8a202b7d4
14 changed files with 19 additions and 20 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ static int process_progress(int fd) {
return -errno;
}
console = fopen("/dev/console", "w");
console = fopen("/dev/console", "we");
if (!console)
return -ENOMEM;