diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-06-13 19:17:58 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-06-13 19:17:58 -0300 |
commit | bea5fce59d4c01d19f995a45659fddd7d7e42793 (patch) | |
tree | bcdffd633580b3e0d14abfcc9cc6a7e21fcf9452 /kvmx-create | |
parent | 22f69693ac8959a79f74a4afc1977954e24b57f3 (diff) | |
download | kvmx-bea5fce59d4c01d19f995a45659fddd7d7e42793.tar.gz kvmx-bea5fce59d4c01d19f995a45659fddd7d7e42793.tar.bz2 |
Another conditional fix
Diffstat (limited to 'kvmx-create')
-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 |