mirror of
https://github.com/matrix-construct/construct
synced 2024-11-11 12:31:07 +01:00
construct: Remove the startup root euid check. gl;hf.
This commit is contained in:
parent
0787b5ff71
commit
1bd130bf94
1 changed files with 0 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue