mirror of
https://github.com/ntop/n2n.git
synced 2024-09-19 16:41:11 +02:00
Remove the only obstacle that stopped running the supernode as a normal user
This commit is contained in:
parent
84f69623e1
commit
954547a9c1
|
@ -651,7 +651,6 @@ int main (int argc, char * const argv[]) {
|
||||||
if((setgid(sss_node.groupid) != 0)
|
if((setgid(sss_node.groupid) != 0)
|
||||||
|| (setuid(sss_node.userid) != 0)) {
|
|| (setuid(sss_node.userid) != 0)) {
|
||||||
traceEvent(TRACE_ERROR, "unable to drop privileges [%u/%s]", errno, strerror(errno));
|
traceEvent(TRACE_ERROR, "unable to drop privileges [%u/%s]", errno, strerror(errno));
|
||||||
exit(1);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user