From 99a7c932f7db39c15d4715333a991247c4add2dd Mon Sep 17 00:00:00 2001 From: deajan Date: Sun, 19 May 2019 17:01:50 +0200 Subject: [PATCH] Quick typo fix --- dev/n_osync.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/n_osync.sh b/dev/n_osync.sh index b75fb17..3ca1c2d 100644 --- a/dev/n_osync.sh +++ b/dev/n_osync.sh @@ -2418,9 +2418,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"