fix: Unmount new_root recursively
This commit is contained in:
parent
797b215b16
commit
3cd484befc
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ filename="alpine-minirootfs-$version-$arch.tar.gz"
|
|||
|
||||
# clean up, just in case
|
||||
rm -f "$filename"
|
||||
umount new_root 2>/dev/null || true
|
||||
umount -R new_root 2>/dev/null || true
|
||||
rm -rf new_root
|
||||
|
||||
# download alpine minirootfs
|
||||
|
|
Loading…
Reference in a new issue