wind: Fix help message when unprivileged
wind --user=<NAME> is not supported anymore. We'll setuid() and setgid() to wind:wind on our own.
This commit is contained in:
parent
499bf6dd19
commit
865a913502
@ -73,8 +73,8 @@ Result<int> luna_main(int argc, char** argv)
|
|||||||
|
|
||||||
if (geteuid() != 0)
|
if (geteuid() != 0)
|
||||||
{
|
{
|
||||||
os::eprintln("error: wind must be run as root to initialize resources, run with --user=<USERNAME> to drop "
|
os::eprintln("error: wind must be run as root to initialize resources, the server will drop "
|
||||||
"privileges afterwards");
|
"privileges automatically afterwards");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user