فهرست منبع

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