Removed sleep() from root privileges message, reworded.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15121 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
9464e63d0d
commit
8897b74690
@ -205,9 +205,7 @@ void usercheck(void)
|
|||||||
{
|
{
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
if ((getuid() == 0) && (getgid() == 0)) {
|
if ((getuid() == 0) && (getgid() == 0)) {
|
||||||
ShowWarning ("You are running eAthena as the root superuser.\n");
|
ShowWarning ("You are running rAthena with root privileges, it is not necessary.\n");
|
||||||
ShowWarning ("It is unnecessary and unsafe to run eAthena with root privileges.\n");
|
|
||||||
sleep(3);
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user