summaryrefslogtreecommitdiff
path: root/helpers/lh_source_usb-hdd
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_source_usb-hdd')
-rwxr-xr-xhelpers/lh_source_usb-hdd2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_source_usb-hdd b/helpers/lh_source_usb-hdd
index b9d1526..59ef267 100755
--- a/helpers/lh_source_usb-hdd
+++ b/helpers/lh_source_usb-hdd
@@ -73,7 +73,7 @@ fi
# Everything which comes here needs to be cleaned up,
DU_DIM="$(du -ms source | cut -f1)"
REAL_DIM="$(expr ${DU_DIM} + ${DU_DIM} / 50)" # Just 2% more to be sure, need something more sophistcated here...
-dd if=/dev/zero of=source.img bs=1024k count=${REAL_DIM}
+dd if=/dev/zero of=source.img bs=1024k count=0 seek=${REAL_DIM}
FREELO="$(${LH_LOSETUP} -f)"
if [ ! -b chroot/${FREELO} ]
then