diff --git a/core/utils.c b/core/utils.c index de178b5c..cd53d3ab 100644 --- a/core/utils.c +++ b/core/utils.c @@ -206,6 +206,8 @@ void uwsgi_set_cgroup() { if (!uwsgi.cgroup) return; + if (getuid()) return; + usl = uwsgi.cgroup; while (usl) {