diff options
-rwxr-xr-x | kvmx-create | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmx-create b/kvmx-create index 171c670..4c1ee0b 100755 --- a/kvmx-create +++ b/kvmx-create @@ -233,7 +233,7 @@ function kvmx_create_custom { kvmx_install_package $req done - if [ ! -z "$image_type" ] || [ "$image_type" == "file" ]; then + if [ -z "$image_type" ] || [ "$image_type" == "file" ]; then echo "Creating image file..." #kvmx_sudo_run dd if=/dev/zero of=$image bs=$size count=1 kvmx_sudo_run qemu-img create -f raw $image $size |