diff --git a/src/datastore_mad/remotes/vmfs/clone b/src/datastore_mad/remotes/vmfs/clone index 7411a4bf82..d11501aad7 100755 --- a/src/datastore_mad/remotes/vmfs/clone +++ b/src/datastore_mad/remotes/vmfs/clone @@ -103,7 +103,7 @@ if ! is_cdrom; then exec_and_log "ssh_make_path $DST_HOST $DST" \ "Cannot create $DST in $DST_HOST" - if [ -n $CLONE_FSTYPE ]; then + if [ ! -z $CLONE_FSTYPE ]; then CLONE_FSTYPE="-d $CLONE_FSTYPE" fi