From 1339e6463aac90144c834ecc83d1387422a29c67 Mon Sep 17 00:00:00 2001 From: deajan Date: Sun, 19 May 2019 17:02:20 +0200 Subject: [PATCH] Rebuilt targets --- dev/debug_osync.sh | 4 ++-- osync.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dev/debug_osync.sh b/dev/debug_osync.sh index 164a23b..a434b5c 100755 --- a/dev/debug_osync.sh +++ b/dev/debug_osync.sh @@ -5758,9 +5758,9 @@ function _SummaryFromDeleteFile { if [ -f "$summaryFile" ]; then while read -r file; do Logger "$direction $replicaPath$file" "ALWAYS" - if [ "$direction" == ">>" ]; then + if [ "$direction" == "- >>" ]; then TARGET_DELETES_COUNT=$((TARGET_DELETES_COUNT+1)) - elif [ "$direction" == "<<" ]; then + elif [ "$direction" == "- <<" ]; then INITIATOR_DELETES_COUNT=$((INITIATOR_DELETES_COUNT+1)) fi done < "$summaryFile" diff --git a/osync.sh b/osync.sh index 30b82aa..4ad8178 100755 --- a/osync.sh +++ b/osync.sh @@ -5522,9 +5522,9 @@ function _SummaryFromDeleteFile { if [ -f "$summaryFile" ]; then while read -r file; do Logger "$direction $replicaPath$file" "ALWAYS" - if [ "$direction" == ">>" ]; then + if [ "$direction" == "- >>" ]; then TARGET_DELETES_COUNT=$((TARGET_DELETES_COUNT+1)) - elif [ "$direction" == "<<" ]; then + elif [ "$direction" == "- <<" ]; then INITIATOR_DELETES_COUNT=$((INITIATOR_DELETES_COUNT+1)) fi done < "$summaryFile"