From 0d895a225a30a86733bcfbd600fc6e5880b11977 Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Thu, 23 Jun 2011 02:09:22 -0300 Subject: [archiso] Ensure that there is no .fs before create it Signed-off-by: Gerardo Exequiel Pozzi --- archiso/mkarchiso | 1 + 1 file changed, 1 insertion(+) (limited to 'archiso/mkarchiso') 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 -- cgit v1.2.3-70-g09d2