Avoid unnecessary rescanning

This commit is contained in:
2015-11-19 01:00:22 +01:00
parent 0ef40dfe53
commit 826d6a15d8
3 changed files with 13 additions and 12 deletions

View File

@@ -230,8 +230,7 @@ int Sync(char *pathLeft, char *pathRight, int recheck, int dryRun) {
}
else {
// Run action list
ActionFileNode_RunList(actionFileNode, pathLeft, pathRight);
if (recheck) {
if (ActionFileNode_RunList(actionFileNode, pathLeft, pathRight)) {
CheckDir(pathLeft, recheck);
CheckDir(pathRight, recheck);
}