Skip to content

Commit

Permalink
kiss-vm: fix download image fail if default vm exist
Browse files Browse the repository at this point in the history
Signed-off-by: Jianhong Yin <[email protected]>
  • Loading branch information
tcler committed Mar 19, 2021
1 parent a04e536 commit 91e19a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kiss-vm
Original file line number Diff line number Diff line change
Expand Up @@ -1697,7 +1697,7 @@ fi
if [[ "${OVERWRITE}" = "yes" ]]; then
echo "{VM:INFO} VM $vmname has been there, remove it ..."
_vmdelete $vmname
else
elif [[ "${DOWNLOAD_ONLY}" != "yes" ]]; then
echo "{VM:INFO} VM $vmname has been there, if you want overwrite please use --force option"
exit
fi
Expand Down

0 comments on commit 91e19a2

Please sign in to comment.