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"