Added running as root warning
This commit is contained in:
@@ -63,6 +63,10 @@ namespace Bloom
|
|||||||
this->selectedEnvironmentName = std::move(firstArg);
|
this->selectedEnvironmentName = std::move(firstArg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Services::ProcessService::isRunningAsRoot()) {
|
||||||
|
Logger::warning("Please don't run Bloom as root - you're asking for trouble.");
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef BLOOM_DEBUG_BUILD
|
#ifdef BLOOM_DEBUG_BUILD
|
||||||
Logger::warning("This is a debug build - some functions may not work as expected");
|
Logger::warning("This is a debug build - some functions may not work as expected");
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user