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:
apio 2024-12-11 20:30:40 +01:00
parent 499bf6dd19
commit 865a913502
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -73,8 +73,8 @@ Result<int> luna_main(int argc, char** argv)
if (geteuid() != 0)
{
os::eprintln("error: wind must be run as root to initialize resources, run with --user=<USERNAME> to drop "
"privileges afterwards");
os::eprintln("error: wind must be run as root to initialize resources, the server will drop "
"privileges automatically afterwards");
return 1;
}