This fixes problem in revision 2642, when only last line of log destination setting is really applied. git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2646 fd59a12c-fef9-0310-b244-a6a79926bd2f
@@ -277,6 +277,8 @@ static int corosync_main_config_log_destination_set (
objdb_key, replacement);
}
+ mode = logsys_config_mode_get (subsys);
+
if (strcmp (value, "yes") == 0) {
mode |= mode_mask;
if (logsys_config_mode_set(subsys, mode) < 0) {