Commit caad2eed authored by Kroese's avatar Kroese Committed by GitHub
Browse files

fix: Remove size check

parent 013033c2
Loading
Loading
Loading
Loading
+0 −13
Original line number Diff line number Diff line
@@ -110,19 +110,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} \