diff --git a/src/conf.c b/src/conf.c index 7e3c031..1a78816 100644 --- a/src/conf.c +++ b/src/conf.c @@ -505,7 +505,7 @@ int reload_config_file (const char *config_fname, struct config_s *conf) goto done; } - if (!conf->user) { + if (!conf->user && !geteuid()) { log_message (LOG_WARNING, "You SHOULD set a UserName in the " "config file. Using current user instead."); }