Disabled root/admin user check for build bots (#2659)

Thanks to @hurtsky
This commit is contained in:
Lemongrass3110 2017-12-01 17:24:16 +01:00 committed by GitHub
parent 217bd0e5bf
commit 812e3a9a04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}
/*======================================