summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xarchiso/mkarchiso1
1 files changed, 1 insertions, 0 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index df9f49a..673f570 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -250,6 +250,7 @@ _mkfs () {
fi
_msg_info "Creating ${_fs_type} image of ${_fs_size} MiB"
+ rm -f "${_fs_img}"
dd of="${_fs_img}" count=0 bs=1M seek=${_fs_size} &> /dev/null
local _qflag=""
if [[ ${quiet} == "y" ]]; then