|
|
@@ -1321,7 +1321,12 @@ int main (int argc, char **argv, char **envp)
|
|
|
|
|
|
res = coroparse_configparse(icmap_get_global_map(), &error_string);
|
|
|
if (res == -1) {
|
|
|
- log_printf (LOGSYS_LEVEL_ERROR, "%s", error_string);
|
|
|
+ /*
|
|
|
+ * Logsys can't log properly at this early stage, and we need to get this message out
|
|
|
+ *
|
|
|
+ */
|
|
|
+ fprintf (stderr, "%s\n", error_string);
|
|
|
+ syslog (LOGSYS_LEVEL_ERROR, "%s", error_string);
|
|
|
corosync_exit_error (COROSYNC_DONE_MAINCONFIGREAD);
|
|
|
}
|
|
|
|