--- a/src/server/daemon/webserver.c Sun Nov 27 10:20:10 2022 +0100 +++ b/src/server/daemon/webserver.c Sun Nov 27 13:33:30 2022 +0100 @@ -102,6 +102,8 @@ if(!init_config) { return -1; } + + log_ereport(LOG_INFORM, "test1"); // load server.conf // Only the runtime infos are stored in the ServerConfiguration at @@ -110,7 +112,7 @@ init_configuration_manager(); CfgManager mgr; if(cfgmgr_load_config(&mgr) != 0) { - return -1; + return 1; } log_ereport(LOG_VERBOSE, "cfgmgr_load_config stage 1 successful"); ServerConfiguration *cfg = mgr.cfg; @@ -144,7 +146,7 @@ if(!vars->Vuserpw) { log_ereport(LOG_VERBOSE, "globalvars->Vuserpw is null"); } - + // change uid if(changeuid && ws_uid == 0) { // a webserver user is set and we are root