about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRon Damen <rdamen@fastmail.fm>2016-02-24 14:35:13 +0100
committerRon Damen <rdamen@fastmail.fm>2016-02-24 14:35:13 +0100
commit11000d9f3c99eb58e43c7f14ce08b75022b5cfb9 (patch)
tree67c2869352596e8b853616e804fb65fa1a0e47d8
parentf5a75aeb136598b46cb30df4be2a6bcdde4bebfe (diff)
downloadhrmpf-11000d9f3c99eb58e43c7f14ce08b75022b5cfb9.tar.gz
hrmpf-11000d9f3c99eb58e43c7f14ce08b75022b5cfb9.tar.xz
hrmpf-11000d9f3c99eb58e43c7f14ce08b75022b5cfb9.zip
mkimage.sh.in: fix truncate size argument
-rw-r--r--mkimage.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkimage.sh.in b/mkimage.sh.in
index 4888c66..26007dd 100644
--- a/mkimage.sh.in
+++ b/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)