|
|
@ -1443,9 +1443,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 connections |
|
|
|
cork_dllist_init(&connections); |
|
|
|