mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-06 21:51:30 +00:00
completely skip cgroups initialization when non-root
This commit is contained in:
@@ -206,6 +206,8 @@ void uwsgi_set_cgroup() {
|
||||
if (!uwsgi.cgroup)
|
||||
return;
|
||||
|
||||
if (getuid()) return;
|
||||
|
||||
usl = uwsgi.cgroup;
|
||||
|
||||
while (usl) {
|
||||
|
||||
Reference in New Issue
Block a user