mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-06 15:01:55 +00:00
More improvements and fixes
This commit is contained in:
@@ -347,6 +347,8 @@ int clone_dir(const char *source, const char *target) {
|
||||
}
|
||||
|
||||
int rm_rf(const char *target) {
|
||||
if (access(target, F_OK) == -1)
|
||||
return 0;
|
||||
struct stat buf;
|
||||
xlstat(target, &buf);
|
||||
char *next;
|
||||
|
||||
Reference in New Issue
Block a user