Check for both qemu-system-x86_64 and qemu-img

pull/305/head
Giorgio Gallo 3 years ago committed by GitHub
parent 12fbf6b02f
commit 3bcf36f625
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      quickemu

@ -1085,7 +1085,7 @@ fi
# TODO: Make this run the native architecture binary
QEMU=$(command -v qemu-system-x86_64)
QEMU_IMG=$(command -v qemu-img)
if [ ! -e "${QEMU}" ] && [ ! -e "${QEMU_IMG}" ]; then
if [ ! -e "${QEMU}" ] || [ ! -e "${QEMU_IMG}" ]; then
echo "ERROR! QEMU not found. Please make install qemu-system-x86_64 and qemu-img"
exit 1
fi

Loading…
Cancel
Save