Explorar el Código

Merge pull request #62 from rdamen/master

mkimage.sh.in: fix truncate size argument
Juan RP hace 9 años
padre
commit
4477f82d09
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      mkimage.sh.in

+ 1 - 1
mkimage.sh.in

@@ -131,7 +131,7 @@ case "$DD_VERSION" in
 esac
 
 info_msg "Creating disk image ($IMGSIZE) ..."
-truncate -s "${IMGSIZE}M" $FILENAME >/dev/null 2>&1
+truncate -s "${IMGSIZE}" $FILENAME >/dev/null 2>&1
 
 ROOTFSDIR=$(mktemp -d)