From 4283c1f50761325a82213ae6927e50b1c065bc33 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Sat, 11 May 2024 02:57:41 +0100 Subject: [PATCH] fix: remove disk health check; it is a misfeature. close #1198 --- quickemu | 9 --------- 1 file changed, 9 deletions(-) diff --git a/quickemu b/quickemu index 74ed49a..918cfc8 100755 --- a/quickemu +++ b/quickemu @@ -1852,15 +1852,6 @@ if [ -n "${VM}" ] && [ -e "${VM}" ]; then exit 1 fi - if [ -e "${disk_img}" ]; then - DiskChkMsg="$("$QEMU_IMG" check -q "${disk_img}" 2>&1)" - if [[ $DiskChkMsg ]]; then - echo; echo "ERROR! disk.qcow2 has problems. Try qemu-img check --help." - echo; echo "$DiskChkMsg" ; echo - exit 1 - fi - fi - if [ ! -f "${disk_img}" ]; then pushd "${VMPATH}" || exit fi