diff --git a/src/08_generate_rootfs.sh b/src/08_generate_rootfs.sh index 8e42f4493..221c78be6 100755 --- a/src/08_generate_rootfs.sh +++ b/src/08_generate_rootfs.sh @@ -101,6 +101,7 @@ for DEVICE in /dev/* ; do OUT=\$? if [ ! "\$OUT" = "0" ] ; then echo " Mount failed (probably on vfat), moving on with other devices." + umount /tmp/mnt 2>/dev/null continue fi else