summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/corelib/io/qfilesystemwatcher_inotify.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/corelib/io/qfilesystemwatcher_inotify.cpp b/src/corelib/io/qfilesystemwatcher_inotify.cpp
index ffe3a2e067..79d7d7cae0 100644
--- a/src/corelib/io/qfilesystemwatcher_inotify.cpp
+++ b/src/corelib/io/qfilesystemwatcher_inotify.cpp
@@ -220,7 +220,6 @@ QInotifyFileSystemWatcherEngine *QInotifyFileSystemWatcherEngine::create()
fd = inotify_init();
if (fd == -1)
return 0;
- ::fcntl(fd, F_SETFD, FD_CLOEXEC);
}
return new QInotifyFileSystemWatcherEngine(fd);
}