Added true to avoid exit on error

disk-image-create just died without any warning

Change-Id: Ia5da4188d64bb22540b57d01184b91faa59149e7
This commit is contained in:
Ghe Rivero 2012-12-13 18:20:55 +01:00
parent e47bb57131
commit 258185b7a2

View File

@ -39,7 +39,7 @@ function cleanup () {
} }
function ensure_nbd () { function ensure_nbd () {
NBD=`which qemu-nbd` NBD=`which qemu-nbd` || true
if [ -z "$NBD" ]; then if [ -z "$NBD" ]; then
echo "Need qemu-nbd to build qcow2 files." echo "Need qemu-nbd to build qcow2 files."
sudo apt-get install qemu-utils sudo apt-get install qemu-utils