Check for both qemu-system-x86_64 and qemu-img
This commit is contained in:
parent
12fbf6b02f
commit
3bcf36f625
2
quickemu
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…
Reference in New Issue
Block a user