Browse Source

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

Thanks to @hurtsky
Lemongrass3110 7 years ago
parent
commit
812e3a9a04
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/common/core.cpp

+ 2 - 0
src/common/core.cpp

@@ -303,11 +303,13 @@ static void display_title(void) {
 // Warning if executed as superuser (root)
 // Warning if executed as superuser (root)
 void usercheck(void)
 void usercheck(void)
 {
 {
+#if !defined(BUILDBOT)
 #ifndef _WIN32
 #ifndef _WIN32
     if (geteuid() == 0) {
     if (geteuid() == 0) {
 		ShowWarning ("You are running rAthena with root privileges, it is not necessary.\n");
 		ShowWarning ("You are running rAthena with root privileges, it is not necessary.\n");
     }
     }
 #endif
 #endif
+#endif
 }
 }
 
 
 /*======================================
 /*======================================