Просмотр исходного кода

Remove exit when logsys files can't be created.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1549 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake 17 лет назад
Родитель
Сommit
1cfebbddca
1 измененных файлов с 1 добавлено и 6 удалено
  1. 1 6
      exec/main.c

+ 1 - 6
exec/main.c

@@ -615,12 +615,7 @@ int main (int argc, char **argv)
 
 	logsys_config_facility_set ("openais", main_config.syslog_facility);
 	logsys_config_mode_set (main_config.logmode);
-
-	res = logsys_config_file_set (&error_string, main_config.logfile);
-	if (res == -1) {
-		log_printf (LOG_LEVEL_ERROR, error_string);
-		openais_exit_error (AIS_DONE_LOGSETUP);
-	}
+	logsys_config_file_set (&error_string, main_config.logfile);
 
 	aisexec_uid_determine (&main_config);