mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Fix a logic error is -vm flag validation
This commit is contained in:
parent
e566e38e9c
commit
373a83f9a4
1 changed files with 1 additions and 1 deletions
2
quickemu
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…
Add table
Add a link
Reference in a new issue