Commit 618ec664 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

fix: Remove size check

fix: Remove size check
parents 32db74e5 d24ae86c
Loading
Loading
Loading
Loading
+0 −13
Original line number Diff line number Diff line
@@ -119,19 +119,6 @@ addDisk () {
      fi

    fi

    # Check if file exists
    if [ ! -f "${DISK_FILE}" ]; then
      error "File for ${DISK_DESC} ($DISK_FILE) does not exist!" && exit 88
    fi

  fi

  # Check the filesize
  SIZE=$(stat -c%s "${DISK_FILE}")

  if [[ SIZE -ne DATA_SIZE ]]; then
    error "File for ${DISK_DESC} (${DISK_FILE}) has the wrong size: ${SIZE} bytes" && exit 89
  fi

  DISK_OPTS="${DISK_OPTS} \