Skip to content

Commit

Permalink
Cleanup mount point
Browse files Browse the repository at this point in the history
  • Loading branch information
Howard20181 committed Mar 2, 2024
1 parent 502e3c7 commit c31c994
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/post-fs-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c31c994

Please sign in to comment.