From 865a913502114cfb27e9b0fd6090ec807a83b32e Mon Sep 17 00:00:00 2001 From: apio Date: Wed, 11 Dec 2024 20:30:40 +0100 Subject: [PATCH] wind: Fix help message when unprivileged wind --user= is not supported anymore. We'll setuid() and setgid() to wind:wind on our own. --- gui/wind/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/wind/main.cpp b/gui/wind/main.cpp index 41732a8f..8695b60d 100644 --- a/gui/wind/main.cpp +++ b/gui/wind/main.cpp @@ -73,8 +73,8 @@ Result luna_main(int argc, char** argv) if (geteuid() != 0) { - os::eprintln("error: wind must be run as root to initialize resources, run with --user= 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; }