Fix a logic error is -vm flag validation

pull/18/head
Martin Wimpress 5 years ago
parent e566e38e9c
commit 373a83f9a4
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3
  1. 2
      quickemu

@ -345,7 +345,7 @@ if [ ! -e "${QEMU}" ] && [ ! -e "${QEMU_IMG}" ]; then
exit 1
fi
if [ -n "${VM}" ] || [ -e "${VM}" ]; then
if [ -n "${VM}" ] && [ -e "${VM}" ]; then
source "${VM}"
if [ -z "${disk_img}" ]; then
echo "ERROR! No disk_img defined."

Loading…
Cancel
Save