From 3dcdeb20b1eeb574d4d4ca6100f70c1229214d32 Mon Sep 17 00:00:00 2001 From: deajan Date: Sun, 4 Dec 2016 11:12:55 +0100 Subject: [PATCH] Removed unnecessary code --- dev/n_osync.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dev/n_osync.sh b/dev/n_osync.sh index c559af3..52a7822 100755 --- a/dev/n_osync.sh +++ b/dev/n_osync.sh @@ -252,10 +252,6 @@ function CheckReplicaPaths { local pids - # Use direct comparaison before having a portable realpath implementation - #INITIATOR_SYNC_DIR_CANN=$(realpath "${INITIATOR[$__replicaDir]}") #TODO(verylow): investigate realpath & readlink issues on MSYS and busybox here - #TARGET_SYNC_DIR_CANN=$(realpath "${TARGET[$__replicaDir]}") - if [ "$REMOTE_OPERATION" != "yes" ]; then if [ "${INITIATOR[$__replicaDir]}" == "${TARGET[$__replicaDir]}" ]; then Logger "Initiator and target path [${INITIATOR[$__replicaDir]}] cannot be the same." "CRITICAL"