fix: remove disk health check; it is a misfeature. close #1198
This commit is contained in:
parent
135a08c7b0
commit
4283c1f507
9
quickemu
9
quickemu
|
@ -1852,15 +1852,6 @@ if [ -n "${VM}" ] && [ -e "${VM}" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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
|
if [ ! -f "${disk_img}" ]; then
|
||||||
pushd "${VMPATH}" || exit
|
pushd "${VMPATH}" || exit
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue