mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-11 11:02:20 +00:00
General QoL changes
This commit is contained in:
@@ -416,10 +416,10 @@ void parse_statement(const char *statement) {
|
||||
}
|
||||
|
||||
void load_rule_file(const char *file) {
|
||||
file_readline(file, [](string_view line) -> bool {
|
||||
file_readline(true, file, [](string_view line) -> bool {
|
||||
if (line.empty() || line[0] == '#')
|
||||
return true;
|
||||
parse_statement(line.data());
|
||||
return true;
|
||||
}, true);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user