Cleanup mount point

This commit is contained in:
Howard Wu 2024-03-03 03:28:52 +08:00
parent 502e3c7ebe
commit c31c9941bd

View File

@ -38,5 +38,7 @@ for file in "$MAGISKTMP"/*; do
if echo "$file" | grep -Eq "lsp_.+\.img"; then
foldername=$(basename "$file" .img)
umount "$MAGISKTMP/$foldername"
rm -rf "${MAGISKTMP:?}/${foldername:?}"
rm -f "$file"
fi
done