mirror of
https://github.com/abraunegg/onedrive
synced 2024-04-26 11:30:40 +02:00
If a sync_list exclusion is matched, the item needs to be excluded when using --resync (#1820)
* If a sync_list exclusion is matched, the item needs to be excluded when using --resync
This commit is contained in:
parent
1ac5d87d98
commit
e1faa90351
|
@ -373,6 +373,11 @@ private bool isPathExcluded(string path, string[] allowedPaths)
|
|||
log.vdebug("[F]exclude = ", exclude);
|
||||
log.vdebug("[F]excludeMatched = ", excludeMatched);
|
||||
|
||||
// If exclude or excludeMatched is true, then finalResult has to be true
|
||||
if ((exclude) || (excludeMatched)) {
|
||||
finalResult = true;
|
||||
}
|
||||
|
||||
// results
|
||||
if (finalResult) {
|
||||
log.vdebug("Evaluation against 'sync_list' final result: EXCLUDED");
|
||||
|
|
Loading…
Reference in a new issue