aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
Diffstat (limited to 'FICS')
-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;