Remove obsolete warning about setting root directory.

We don't use chroot() anymore.
This commit is contained in:
Jordan Bancino 2023-03-22 18:30:30 +00:00
parent 089d8d4d94
commit 2fab7b55fe

View file

@ -352,8 +352,6 @@ main(int argc, char **argv)
}
else
{
Log(LOG_WARNING, "Not setting root directory, because we are not root.");
if (tConfig->uid && tConfig->gid)
{
if (getuid() != userInfo->pw_uid || getgid() != groupInfo->gr_gid)