From 3bcf36f62526acd90f5521bbc7696db5c38f5c33 Mon Sep 17 00:00:00 2001 From: Giorgio Gallo Date: Mon, 3 Jan 2022 22:34:39 +0100 Subject: [PATCH] Check for both qemu-system-x86_64 and qemu-img --- quickemu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickemu b/quickemu index 5507580..73a9b0e 100755 --- a/quickemu +++ b/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