Force logging to stderr if the -f flag is specified.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1491 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Steven Dake 2007-12-10 21:09:48 +00:00
parent 93ce442597
commit 97618d8c4f

View File

@ -454,6 +454,7 @@ int main (int argc, char **argv)
switch (ch) {
case 'f':
background = 0;
logsys_config_mode_set (LOG_MODE_OUTPUT_STDERR|LOG_MODE_FLUSH_AFTER_CONFIG);
break;
case 'p':
setprio = 0;