mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-26 18:53:41 +00:00
Fix #1531
This commit is contained in:
@@ -1213,11 +1213,6 @@ main(int argc, char **argv)
|
||||
// initialize ev loop
|
||||
struct ev_loop *loop = EV_DEFAULT;
|
||||
|
||||
// setuid
|
||||
if (user != NULL && !run_as(user)) {
|
||||
FATAL("failed to switch user");
|
||||
}
|
||||
|
||||
if (geteuid() == 0) {
|
||||
LOGI("running from root user");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user