mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-11 01:12:36 +00:00
Cleanup libbase
This commit is contained in:
@@ -72,7 +72,7 @@ static void load_overlay_rc(const char *overlay) {
|
||||
if (str_ends(entry->d_name, ".rc")) {
|
||||
LOGD("Found rc script [%s]\n", entry->d_name);
|
||||
int rc = xopenat(dfd, entry->d_name, O_RDONLY | O_CLOEXEC);
|
||||
rc_list.push_back(fd_full_read(rc));
|
||||
rc_list.push_back(full_read(rc));
|
||||
close(rc);
|
||||
unlinkat(dfd, entry->d_name, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user