This commit is contained in:
Daan Hoogland 2014-12-16 10:46:57 +01:00
commit 356793d26f
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ copyvhd()
exit 0
fi
if [ "${parent##*vhd has}" = " no parent" ]; then
dd if=$srcvhd of=$desvhd bs=2M
dd if=$srcvhd of=$desvhd bs=2M oflag=direct iflag=direct
if [ $? -ne 0 ]; then
echo "31#failed to dd $srcvhd to $desvhd"
cleanup