Преглед изворни кода

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

Thanks to @hurtsky
Lemongrass3110 пре 7 година
родитељ
комит
812e3a9a04
1 измењених фајлова са 2 додато и 0 уклоњено
  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)
 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
 }
 
 /*======================================