aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2025-11-04 19:37:18 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2025-11-04 19:37:18 +0100
commit7406de2683e4b02b8c3b4c64f73be3d3878446aa (patch)
tree202705636b1822986ffe6ac7a97c313e69148f87
parentbed6e2b15abe169d078b0ec4fed9168d821a0c7e (diff)
check_prep_done: added puts() call
-rw-r--r--FICS/prep_dir_for_privdrop.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/FICS/prep_dir_for_privdrop.cpp b/FICS/prep_dir_for_privdrop.cpp
index 4d4478c..786303a 100644
--- a/FICS/prep_dir_for_privdrop.cpp
+++ b/FICS/prep_dir_for_privdrop.cpp
@@ -82,6 +82,8 @@ drop_root_privileges(const char *path)
{
struct passwd *pw;
+ puts("Dropping the root privileges...");
+
if ((pw = getpwnam(settings_get("privdrop_user"))) == nullptr) {
warnx("%s: password database search failed", __func__);
return -1;