mirror of
https://github.com/LSPosed/MagiskOnWSALocal.git
synced 2025-04-20 07:29:09 +00:00
Cleanup mount point
This commit is contained in:
parent
502e3c7ebe
commit
c31c9941bd
1 changed files with 2 additions and 0 deletions
|
@ -38,5 +38,7 @@ for file in "$MAGISKTMP"/*; do
|
||||||
if echo "$file" | grep -Eq "lsp_.+\.img"; then
|
if echo "$file" | grep -Eq "lsp_.+\.img"; then
|
||||||
foldername=$(basename "$file" .img)
|
foldername=$(basename "$file" .img)
|
||||||
umount "$MAGISKTMP/$foldername"
|
umount "$MAGISKTMP/$foldername"
|
||||||
|
rm -rf "${MAGISKTMP:?}/${foldername:?}"
|
||||||
|
rm -f "$file"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Reference in a new issue