forked from Telodendria/Telodendria
Remove obsolete warning about setting root directory.
We don't use chroot() anymore.
This commit is contained in:
parent
089d8d4d94
commit
2fab7b55fe
1 changed files with 0 additions and 2 deletions
|
@ -352,8 +352,6 @@ main(int argc, char **argv)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Log(LOG_WARNING, "Not setting root directory, because we are not root.");
|
|
||||||
|
|
||||||
if (tConfig->uid && tConfig->gid)
|
if (tConfig->uid && tConfig->gid)
|
||||||
{
|
{
|
||||||
if (getuid() != userInfo->pw_uid || getgid() != groupInfo->gr_gid)
|
if (getuid() != userInfo->pw_uid || getgid() != groupInfo->gr_gid)
|
||||||
|
|
Loading…
Reference in a new issue