0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-20 08:51:18 +01:00

construct: Remove the startup root euid check. gl;hf.

This commit is contained in:
Jason Volk 2018-08-28 13:05:10 -07:00
parent 0787b5ff71
commit 1bd130bf94

View file

@ -200,11 +200,6 @@ bool
startup_checks()
try
{
#ifndef _WIN32
if(geteuid() == 0)
throw ircd::error("Don't run ircd as root!!!");
#endif
fs::chdir(fs::get(fs::PREFIX));
return true;
}