M #-: fixed incorrect bash syntax (#4991)

added white space to fix incorrect syntax

(cherry picked from commit 6e6c710835)
This commit is contained in:
Игорь authored and Ruben S. Montero committed 2020-07-21 09:48:40 +02:00
1 parent 1c4d5b1e28
commit 6eebd45b47
1 file changed
+1 -1
+1 -1
View File
@@ -63,7 +63,7 @@ fi
DST_INODE=$(timeout 10 ssh "$DST_HOST" "ls -d -i \"$DST_DIR\" | awk '{print \$1}'")
SRC_INODE=$(timeout 10 ssh "$SRC_HOST" "ls -d -i \"$SRC_DIR\" | awk '{print \$1}'")
if [ -n "$SRC_INODE"] && [ -n "$DST_INODE" ] && [ "$SRC_INODE" = "$DST_INODE" ]; then
if [ -n "$SRC_INODE" ] && [ -n "$DST_INODE" ] && [ "$SRC_INODE" = "$DST_INODE" ]; then
log "Not moving $SRC to $DST, they are the same path"
exit 0
fi