diff --git a/src/csync_propagate.c b/src/csync_propagate.c index 45586c047..32a8807b6 100644 --- a/src/csync_propagate.c +++ b/src/csync_propagate.c @@ -1118,6 +1118,10 @@ static int _csync_correct_id(CSYNC *ctx) { } else { tfs = c_rbtree_node_data(node); tfs->md5 = _get_md5(ctx, path); + if( tfs->instruction != CSYNC_INSTRUCTION_UPDATED ) { + /* set instruction for the statedb merger */ + tfs->instruction = CSYNC_INSTRUCTION_UPDATED; + } CSYNC_LOG(CSYNC_LOG_PRIORITY_TRACE, "MD5 for dir: %s %s", tfs->path, tfs->md5); }