pixincreate / PixeneOS

GrapheneOS with additionals
https://pixincreate.github.io/PixeneOS/
MIT License
2 stars 1 forks source link

Cleanup Variable Doesn't Prevent Working Directory Removal #4

Closed 0cwa closed 1 month ago

0cwa commented 1 month ago

In relation to when the error in #3 occurs, it always removed the working directory, and made it difficult to debug. Had to comment out cleanup and the reference to it in. But it seems like it was just running because of its inclusion in main.sh without checking on the cleanup function.

Propose adding the check into the cleanup function to keep cleanup from running when CLEANUP is set to false

pixincreate commented 1 month ago

Hey, thanks for this!

I was out of thoughts on this one back when I had started this and completely forgot on CLEANUP. It should be fixed in d4ffcde