mirror of
https://github.com/deajan/osync
synced 2024-11-19 03:25:37 +00:00
Removed unnecessary code
This commit is contained in:
parent
bdf72843ee
commit
3dcdeb20b1
@ -252,10 +252,6 @@ function CheckReplicaPaths {
|
|||||||
|
|
||||||
local pids
|
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 [ "$REMOTE_OPERATION" != "yes" ]; then
|
||||||
if [ "${INITIATOR[$__replicaDir]}" == "${TARGET[$__replicaDir]}" ]; then
|
if [ "${INITIATOR[$__replicaDir]}" == "${TARGET[$__replicaDir]}" ]; then
|
||||||
Logger "Initiator and target path [${INITIATOR[$__replicaDir]}] cannot be the same." "CRITICAL"
|
Logger "Initiator and target path [${INITIATOR[$__replicaDir]}] cannot be the same." "CRITICAL"
|
||||||
|
Loading…
Reference in New Issue
Block a user