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:
parent
11b46d8abd
commit
08b8ea21e2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user