fix: Unmount new_root recursively

This commit is contained in:
ptrcnull 2021-12-29 04:30:54 +01:00
parent 797b215b16
commit 3cd484befc

View file

@ -32,7 +32,7 @@ filename="alpine-minirootfs-$version-$arch.tar.gz"
# clean up, just in case # clean up, just in case
rm -f "$filename" rm -f "$filename"
umount new_root 2>/dev/null || true umount -R new_root 2>/dev/null || true
rm -rf new_root rm -rf new_root
# download alpine minirootfs # download alpine minirootfs