Disabled root/admin user check for build bots (#2659)
Thanks to @hurtsky
This commit is contained in:
parent
217bd0e5bf
commit
812e3a9a04
@ -303,11 +303,13 @@ static void display_title(void) {
|
||||
// Warning if executed as superuser (root)
|
||||
void usercheck(void)
|
||||
{
|
||||
#if !defined(BUILDBOT)
|
||||
#ifndef _WIN32
|
||||
if (geteuid() == 0) {
|
||||
ShowWarning ("You are running rAthena with root privileges, it is not necessary.\n");
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
/*======================================
|
||||
|
Loading…
x
Reference in New Issue
Block a user