X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=server.c;h=90dfc1f58962f69355775fd87e4c08f8253efeac;hp=4f346e0c19d0dba2fad7d59719f3cd7c854a89be;hb=8f79f577f809506a12799cb97dba1f111c014df5;hpb=806fcbb5a8c00d6b8c1a228b9b4d6b6758f613ca diff --git a/server.c b/server.c index 4f346e0c..90dfc1f5 100644 --- a/server.c +++ b/server.c @@ -205,7 +205,7 @@ static void shm_init(void) mmd->sender_cmd_data.cmd_num = -1; return; err_out: - PARA_EMERG_LOG("%s", para_strerror(-ret)); + PARA_EMERG_LOG("%s\n", para_strerror(-ret)); exit(EXIT_FAILURE); } @@ -263,12 +263,6 @@ static void parse_config(int override) server_cmdline_parser_config_file(cf, &conf, ¶ms); conf.daemon_given = tmp; } - /* logfile */ - if (!conf.logfile_given && conf.daemon_given) { - ret = -1; - PARA_EMERG_LOG("fatal: daemon option, but no log file given\n"); - goto out; - } if (conf.logfile_given) logfile = open_log(conf.logfile_arg); ret = 1;