Skip to content

Commit

Permalink
expection handle for cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
= mlm-games committed Sep 11, 2024
1 parent 2931222 commit 4550c36
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kernel/setup-subm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ perform_cleanup() {
rm -rf "$KERNEL_DIR/.git/modules/KernelSU" || true
git stage KernelSU
fi
# If u had manually deleted the KernelSU directory
rm -rf "$KERNEL_DIR/.git/modules/KernelSU" || true
}

# Sets up or update KernelSU environment
Expand Down

0 comments on commit 4550c36

Please sign in to comment.