This commit is contained in:
Max Lv
2016-11-16 14:38:23 +08:00
parent 6d9331a56d
commit 2b7c487b09
4 changed files with 10 additions and 0 deletions
+3
View File
@@ -1873,9 +1873,12 @@ main(int argc, char **argv)
if (user != NULL && ! run_as(user)) {
FATAL("failed to switch user");
}
#ifndef __MINGW32__
if (getuid() == 0){
LOGI("You are running this process as the root user!");
}
#endif
// init block list
init_block_list();