remove unshare call() on older kernels

This commit is contained in:
roberto@oneiric64
2011-12-12 12:54:25 +01:00
parent 8acd57d87e
commit e69dd5cb6a
+1 -1
View File
@@ -518,7 +518,7 @@ void uwsgi_as_root() {
}
#endif
#ifdef __linux__
#if defined(__linux__) && !defined(OBSOLETE_LINUX_KERNEL)
if (uwsgi.unshare && !uwsgi.reloads) {
if (unshare(uwsgi.unshare)) {