Don't complain about missing host configuration file

This commit is contained in:
Iwan Timmer 2015-08-18 12:39:10 +02:00
parent 078b6d1c49
commit 6621bb73ff

View File

@ -190,7 +190,8 @@ int main(int argc, char* argv[]) {
char host_config_file[128];
sprintf(host_config_file, "hosts/%s.conf", config.address);
config_file_parse(host_config_file, &config);
if (access(host_config_file, R_OK) != -1)
config_file_parse(host_config_file, &config);
SERVER_DATA server;
server.address = config.address;