1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-26 06:50:09 +03:00

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

added white space to fix incorrect syntax

(cherry picked from commit 6e6c7108352aacd3a4ca6417388208acfb8f0c13)
This commit is contained in:
Игорь 2020-07-21 10:40:17 +03:00 committed by Ruben S. Montero
parent 11b46d8abd
commit 08b8ea21e2
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

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