Fixup previous commit.

We should not overwrite the error
This commit is contained in:
Olivier Goffart 2013-07-15 15:30:40 +02:00 committed by Klaas Freitag
parent db7e8560cf
commit fdd1f885a1

View file

@ -244,7 +244,9 @@ static int _merge_file_trees_visitor(void *obj, void *data) {
CSYNC_LOG(CSYNC_LOG_PRIORITY_DEBUG, "file: %s, instruction: UPDATED (%s)", uri, fs->md5);
fs->instruction = CSYNC_INSTRUCTION_NONE;
if (fs->instruction != CSYNC_INSTRUCTION_ERROR) {
fs->instruction = CSYNC_INSTRUCTION_NONE;
}
rc = 0;
out: