Feature #4217: fixes bug that forces conversion to raw even for raw

images
This commit is contained in:
Jaime Melis committed 2016-02-02 15:29:16 +01:00
1 parent bdda84262f
commit 4ef0e947a3
1 file changed
+1 -1
+1 -1
View File
@@ -139,7 +139,7 @@ fi
REGISTER_CMD=$(cat <<EOF
set -e
FORMAT=\$($QEMU_IMG info $TMP_DST | grep "^file format:" | awk '{print $3}')
FORMAT=\$($QEMU_IMG info $TMP_DST | grep "^file format:" | awk '{print \$3}')
if [ "\$FORMAT" != "raw" ]; then
$QEMU_IMG convert -O raw $TMP_DST $TMP_DST.raw